mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
* Add width property to light card to fix #3964 * Update Light Card Name CSS * Update css per review
This commit is contained in:
parent
be4d431dc3
commit
5a957c3c9e
@ -212,10 +212,12 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
|
||||
|
||||
.name {
|
||||
position: absolute;
|
||||
top: 160px;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
font-size: var(--name-font-size);
|
||||
bottom: 16px;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.brightness {
|
||||
|
Loading…
x
Reference in New Issue
Block a user