From daa9024bffc595abf7f2fed3ada7735edf0b37aa Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 4 Apr 2024 17:16:36 +0200 Subject: [PATCH 1/3] Make pages full height --- src/panels/config/automation/ha-automation-picker.ts | 1 + src/panels/config/scene/ha-scene-dashboard.ts | 1 + src/panels/config/script/ha-script-picker.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/panels/config/automation/ha-automation-picker.ts b/src/panels/config/automation/ha-automation-picker.ts index 9ec4cb6b01e6..df56a6317a96 100644 --- a/src/panels/config/automation/ha-automation-picker.ts +++ b/src/panels/config/automation/ha-automation-picker.ts @@ -1185,6 +1185,7 @@ class HaAutomationPicker extends SubscribeMixin(LitElement) { css` :host { display: block; + height: 100%; } hass-tabs-subpage-data-table { --data-table-row-height: 60px; diff --git a/src/panels/config/scene/ha-scene-dashboard.ts b/src/panels/config/scene/ha-scene-dashboard.ts index b798c0e3dec3..e357bb00fed6 100644 --- a/src/panels/config/scene/ha-scene-dashboard.ts +++ b/src/panels/config/scene/ha-scene-dashboard.ts @@ -950,6 +950,7 @@ class HaSceneDashboard extends SubscribeMixin(LitElement) { css` :host { display: block; + height: 100%; } hass-tabs-subpage-data-table { --data-table-row-height: 60px; diff --git a/src/panels/config/script/ha-script-picker.ts b/src/panels/config/script/ha-script-picker.ts index 941d78a4179d..944c7dc84457 100644 --- a/src/panels/config/script/ha-script-picker.ts +++ b/src/panels/config/script/ha-script-picker.ts @@ -1066,6 +1066,7 @@ class HaScriptPicker extends SubscribeMixin(LitElement) { css` :host { display: block; + height: 100%; } hass-tabs-subpage-data-table { --data-table-row-height: 60px; From 4cfd6c010fcce67224cda8fcbdcb8a6f300e0505 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 4 Apr 2024 19:54:36 +0200 Subject: [PATCH 2/3] Fix overflow on submenus (#20415) --- src/components/ha-sub-menu.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/ha-sub-menu.ts b/src/components/ha-sub-menu.ts index 15a5afdc47d7..9d01b2019f5b 100644 --- a/src/components/ha-sub-menu.ts +++ b/src/components/ha-sub-menu.ts @@ -6,6 +6,11 @@ import { MdSubMenu } from "@material/web/menu/sub-menu"; @customElement("ha-sub-menu") // @ts-expect-error export class HaSubMenu extends MdSubMenu { + async show() { + super.show(); + this.menu.hasOverflow = false; + } + static override styles: CSSResult[] = [ MdSubMenu.styles, css` From 17141824f785ef57cbba30b05e87da8a5e916c2c Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 4 Apr 2024 21:31:30 +0200 Subject: [PATCH 3/3] Bumped version to 20240404.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 71b4ce560002..1ac865e1d982 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20240404.0" +version = "20240404.1" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md"