From f4d781dbd6b92f34e2f338130624c314fd65bc69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Pereira=20Mu=C3=B1oz?= Date: Mon, 11 Nov 2024 00:36:46 +0100 Subject: [PATCH] Fix #view padding-top when a theme is applied to a view in Home Assistant 2024.11.x --- .hass/config/.HA_VERSION | 2 +- src/styles/index.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.hass/config/.HA_VERSION b/.hass/config/.HA_VERSION index 5342915..12bb95e 100644 --- a/.hass/config/.HA_VERSION +++ b/.hass/config/.HA_VERSION @@ -1 +1 @@ -2024.9.1 \ No newline at end of file +2024.11.0 \ No newline at end of file diff --git a/src/styles/index.ts b/src/styles/index.ts index 36a1ffc..60dae75 100644 --- a/src/styles/index.ts +++ b/src/styles/index.ts @@ -5,7 +5,8 @@ export const STYLES = { HEADER: { '#view': { minHeight: '100vh !important', - HeaderHeight: '0px' + KioskHeaderHeight: '0px', + paddingTop: 'calc(var(--kiosk-header-height) + env(safe-area-inset-top)) !important' }, '.header': false },