mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +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 {
|
.name {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 160px;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%);
|
|
||||||
font-size: var(--name-font-size);
|
font-size: var(--name-font-size);
|
||||||
|
bottom: 16px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.brightness {
|
.brightness {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user