Fix integration page on mobile (#12447)

This commit is contained in:
Bram Kragten 2022-04-26 21:38:59 +02:00 committed by GitHub
parent 824bb9ba35
commit 8ae2d4e93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}