From 8ae2d4e93a306f1b6b20882e33035257fec1b03b Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 26 Apr 2022 21:38:59 +0200 Subject: [PATCH] Fix integration page on mobile (#12447) --- src/panels/config/integrations/ha-config-integrations.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/panels/config/integrations/ha-config-integrations.ts b/src/panels/config/integrations/ha-config-integrations.ts index 79cd2d7828..945cf5279f 100644 --- a/src/panels/config/integrations/ha-config-integrations.ts +++ b/src/panels/config/integrations/ha-config-integrations.ts @@ -111,7 +111,7 @@ const groupByIntegration = ( class HaConfigIntegrations extends SubscribeMixin(LitElement) { @property({ attribute: false }) public hass!: HomeAssistant; - @property() public narrow!: boolean; + @property({ type: Boolean, reflect: true }) public narrow!: boolean; @property() public isWide!: boolean; @@ -709,6 +709,9 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) { return [ haStyle, css` + :host([narrow]) hass-tabs-subpage { + --main-title-margin: 0; + } ha-button-menu { margin-left: 8px; }