From eb2b24d57cb8776e0e28807f60d29142dbe14e3e Mon Sep 17 00:00:00 2001 From: Zack Arnett Date: Tue, 12 May 2020 16:24:20 -0400 Subject: [PATCH] Weather Card: Fix overwritten changes (#5841) --- src/panels/lovelace/cards/hui-weather-forecast-card.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/panels/lovelace/cards/hui-weather-forecast-card.ts b/src/panels/lovelace/cards/hui-weather-forecast-card.ts index 3b5f7bc377..3362162792 100644 --- a/src/panels/lovelace/cards/hui-weather-forecast-card.ts +++ b/src/panels/lovelace/cards/hui-weather-forecast-card.ts @@ -374,13 +374,13 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard { top: 1px; } - .name, + .state, .temp-attribute .temp { font-size: 28px; line-height: 1.2; } - .state, + .name, .attribute { font-size: 14px; line-height: 1; @@ -438,7 +438,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard { .attribute, .templow, - .state { + .name { color: var(--secondary-text-color); } @@ -467,7 +467,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard { --mdc-icon-size: 52px; } - :host([narrow]) .name, + :host([narrow]) .state, :host([narrow]) .temp-attribute .temp { font-size: 22px; } @@ -483,7 +483,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard { /* ============= VERY NARROW ============= */ - :host([veryNarrow]) .state, + :host([veryNarrow]) .name, :host([veryNarrow]) .attribute { display: none; }