Update Gauge CSS (#5182)

This commit is contained in:
Zack Arnett 2020-03-13 09:52:12 -04:00 committed by GitHub
parent 02923475e6
commit 330eb0957b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,8 +312,8 @@ class HuiGaugeCard extends LitElement implements LovelaceCard {
line-height: calc(var(--base-unit) * 0.3);
position: absolute;
width: calc(var(--base-unit) * 4);
height: calc(var(--base-unit) * 2.1);
top: calc(var(--base-unit) * 1.2);
height: var(--base-unit);
top: var(--base-unit);
margin-left: auto;
margin-right: auto;
}
@ -322,6 +322,7 @@ class HuiGaugeCard extends LitElement implements LovelaceCard {
}
.gauge-data #percent {
font-size: calc(var(--base-unit) * 0.55);
line-height: calc(var(--base-unit) * 0.55);
}
.gauge-data #name {
padding-top: calc(var(--base-unit) * 0.15);