From e784205e1e02981a87ad7d3bd19d286919af7888 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 5 Apr 2023 11:35:06 +0200 Subject: [PATCH] fix panel card height (#16059) --- src/panels/lovelace/hui-root.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index 11609b3bdf..5571bd0316 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -1057,6 +1057,7 @@ class HUIRoot extends LitElement { ); overflow: auto; transform: translateZ(0); + display: flex; } /** * In edit mode we have the tab bar on a new line * @@ -1079,6 +1080,7 @@ class HUIRoot extends LitElement { * https://github.com/home-assistant/home-assistant-polymer/pull/3806 */ flex: 1 1 100%; + height: 100%; max-width: 100%; padding-bottom: env(safe-area-inset-bottom); display: block;