From e4591e6bb6ebfa2d78f4d9d6b96de2fd451eb511 Mon Sep 17 00:00:00 2001 From: Bram van Deventer Date: Fri, 12 May 2023 18:33:45 +0200 Subject: [PATCH 1/2] Fix for z-index issue - Remove z-index --- src/style.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/style.ts b/src/style.ts index 2130105..3c13667 100644 --- a/src/style.ts +++ b/src/style.ts @@ -38,7 +38,6 @@ const style = css` .variations li { flex-basis: auto; width: 50%; - z-index: 200 ; } .variations li:nth-child(2n) { From 14353229038915c147665c285c010a321508f283 Mon Sep 17 00:00:00 2001 From: Bram van Deventer Date: Sat, 13 May 2023 20:17:36 +0200 Subject: [PATCH 2/2] Missed some z-index 200 --- dist/ha-card-weather-conditions.js | 5 ----- src/ha-style-forecast.ts | 4 ---- 2 files changed, 9 deletions(-) diff --git a/dist/ha-card-weather-conditions.js b/dist/ha-card-weather-conditions.js index 4cf7d84..c49315a 100644 --- a/dist/ha-card-weather-conditions.js +++ b/dist/ha-card-weather-conditions.js @@ -36,7 +36,6 @@ function t(t,e,i,s){var n,o=arguments.length,a=o<3?e:null===s?s=Object.getOwnPro .variations li { flex-basis: auto; width: 50%; - z-index: 200 ; } .variations li:nth-child(2n) { @@ -175,7 +174,6 @@ function t(t,e,i,s){var n,o=arguments.length,a=o<3?e:null===s?s=Object.getOwnPro border-right: 0.1em solid #d9d9d9; line-height: 2; box-sizing: border-box; - z-index: 200; } .dayname { @@ -198,18 +196,15 @@ function t(t,e,i,s){var n,o=arguments.length,a=o<3?e:null===s?s=Object.getOwnPro width: 100%; margin: 0 auto; display: flex; - z-index: 200; } .forecast .day:first-child { margin-left: 0; - z-index: 200; } .forecast .day:nth-last-child(1) { border-right: none; margin-right: 0; - z-index: 200; } `,ut=rt` .camera-container { diff --git a/src/ha-style-forecast.ts b/src/ha-style-forecast.ts index 06887d9..c16bb23 100644 --- a/src/ha-style-forecast.ts +++ b/src/ha-style-forecast.ts @@ -9,7 +9,6 @@ const styleForecast = css` border-right: 0.1em solid #d9d9d9; line-height: 2; box-sizing: border-box; - z-index: 200; } .dayname { @@ -32,18 +31,15 @@ const styleForecast = css` width: 100%; margin: 0 auto; display: flex; - z-index: 200; } .forecast .day:first-child { margin-left: 0; - z-index: 200; } .forecast .day:nth-last-child(1) { border-right: none; margin-right: 0; - z-index: 200; } `;