mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
Fix tabs subpage height on desktop (#23564)
fix tabs subpage height on desktop
This commit is contained in:
parent
052744e3d1
commit
6d48e725c7
@ -314,10 +314,6 @@ class HassTabsSubpage extends LitElement {
|
|||||||
width: calc(
|
width: calc(
|
||||||
100% - env(safe-area-inset-left) - env(safe-area-inset-right)
|
100% - env(safe-area-inset-left) - env(safe-area-inset-right)
|
||||||
);
|
);
|
||||||
height: calc(100% - var(--header-height));
|
|
||||||
height: calc(
|
|
||||||
100% - var(--header-height) - env(safe-area-inset-bottom)
|
|
||||||
);
|
|
||||||
margin-left: env(safe-area-inset-left);
|
margin-left: env(safe-area-inset-left);
|
||||||
margin-right: env(safe-area-inset-right);
|
margin-right: env(safe-area-inset-right);
|
||||||
margin-inline-start: env(safe-area-inset-left);
|
margin-inline-start: env(safe-area-inset-left);
|
||||||
@ -326,6 +322,13 @@ class HassTabsSubpage extends LitElement {
|
|||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:host([narrow]) .content {
|
||||||
|
height: calc(100% - var(--header-height));
|
||||||
|
height: calc(
|
||||||
|
100% - var(--header-height) - env(safe-area-inset-bottom)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
:host([narrow]) .content.tabs {
|
:host([narrow]) .content.tabs {
|
||||||
height: calc(100% - 2 * var(--header-height));
|
height: calc(100% - 2 * var(--header-height));
|
||||||
height: calc(
|
height: calc(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user