Skip to content

Commit 9943dae

Browse files
authored
Adjust line height in weather card (#27653)
1 parent 70bf049 commit 9943dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/panels/lovelace/cards/hui-weather-forecast-card.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard {
563563
.name,
564564
.attribute {
565565
font-size: var(--ha-font-size-m);
566-
line-height: 1;
566+
line-height: var(--ha-line-height-condensed);
567567
}
568568
569569
.name-state {
@@ -729,7 +729,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard {
729729
.short .state,
730730
.short .temp-attribute .temp {
731731
font-size: 24px;
732-
line-height: 1.25;
732+
line-height: var(--ha-line-height-condensed);
733733
}
734734
735735
.short .content + .forecast {

0 commit comments

Comments
 (0)