From bd6e5204aefa457d55d7e3fb9c144c1d4ca7e7dc Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Thu, 30 Apr 2020 15:36:57 +0100 Subject: [PATCH 1/2] Improved spacing balance for weather forecast --- src/panels/lovelace/cards/hui-weather-forecast-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/cards/hui-weather-forecast-card.ts b/src/panels/lovelace/cards/hui-weather-forecast-card.ts index 060139f12556..f8105bb15543 100644 --- a/src/panels/lovelace/cards/hui-weather-forecast-card.ts +++ b/src/panels/lovelace/cards/hui-weather-forecast-card.ts @@ -409,7 +409,7 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard { .forecast { display: flex; - justify-content: space-between; + justify-content: space-around; padding-top: 16px; } From 52fb7c0b7cdbc174aed3b2efa289ca4ade1ae5c2 Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Thu, 30 Apr 2020 15:56:49 +0100 Subject: [PATCH 2/2] Removes obsolete styling --- src/panels/lovelace/cards/hui-weather-forecast-card.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/panels/lovelace/cards/hui-weather-forecast-card.ts b/src/panels/lovelace/cards/hui-weather-forecast-card.ts index f8105bb15543..9934f18535ef 100644 --- a/src/panels/lovelace/cards/hui-weather-forecast-card.ts +++ b/src/panels/lovelace/cards/hui-weather-forecast-card.ts @@ -472,10 +472,6 @@ class HuiWeatherForecastCard extends LitElement implements LovelaceCard { --iron-icon-height: 52px; } - :host([narrow]) .forecast { - justify-content: space-around; - } - :host([narrow]) .name, :host([narrow]) .temp-attribute .temp { font-size: 22px;