diff --git a/panels/config/automation/ha-automation-editor.html b/panels/config/automation/ha-automation-editor.html index 4c26f40c85..a6aa6a4155 100644 --- a/panels/config/automation/ha-automation-editor.html +++ b/panels/config/automation/ha-automation-editor.html @@ -1,5 +1,4 @@ - @@ -19,6 +18,7 @@ + @@ -82,7 +82,7 @@ } - + [[errors]]
- -
+ + diff --git a/panels/config/automation/ha-automation-picker.html b/panels/config/automation/ha-automation-picker.html index 6d62419e01..9f123dc537 100644 --- a/panels/config/automation/ha-automation-picker.html +++ b/panels/config/automation/ha-automation-picker.html @@ -1,5 +1,4 @@ - @@ -8,6 +7,7 @@ + @@ -44,7 +44,7 @@ } - + - - + diff --git a/panels/config/script/ha-script-editor.html b/panels/config/script/ha-script-editor.html index 5f20080ad3..d7bdc7b94d 100644 --- a/panels/config/script/ha-script-editor.html +++ b/panels/config/script/ha-script-editor.html @@ -91,20 +91,19 @@
Script [[name]]
-
-
+ diff --git a/panels/config/script/ha-script-picker.html b/panels/config/script/ha-script-picker.html index 7d353b3d15..7d3b5927e9 100644 --- a/panels/config/script/ha-script-picker.html +++ b/panels/config/script/ha-script-picker.html @@ -1,5 +1,4 @@ - @@ -8,6 +7,7 @@ + @@ -40,7 +40,7 @@ } - + - - + diff --git a/src/layouts/ha-app-layout.html b/src/layouts/ha-app-layout.html index 1128a75701..94d570e424 100644 --- a/src/layouts/ha-app-layout.html +++ b/src/layouts/ha-app-layout.html @@ -30,58 +30,62 @@ transform: translate(0) is added. position: relative; z-index: 0; } + #wrapper ::slotted([slot=header]) { @apply --layout-fixed-top; z-index: 1; } + #wrapper.initializing ::slotted([slot=header]) { position: relative; } + :host([has-scrolling-region]) { height: 100%; } + :host([has-scrolling-region]) #wrapper ::slotted([slot=header]) { position: absolute; } + :host([has-scrolling-region]) #wrapper.initializing ::slotted([slot=header]) { position: relative; } + :host([has-scrolling-region]) #wrapper #contentContainer { @apply --layout-fit; + overflow-y: auto; -webkit-overflow-scrolling: touch; } + :host([has-scrolling-region]) #wrapper.initializing #contentContainer { position: relative; } + #contentContainer { /* Create a stacking context here so that all children appear below the header. */ position: relative; z-index: 0; - } - .scroll-limiter { /* Using 'transform' will cause 'position: fixed' elements to behave like 'position: absolute' relative to this element. */ transform: translate(0); } - :host([has-scrolling-region]) .scroll-limiter { - overflow-y: auto; - height: 100% - } + @media print { - :host([has-scrolling-region]) .scroll-limiter { + :host([has-scrolling-region]) #wrapper #contentContainer { overflow-y: visible; } } +
-
- -
+
+