* quick fix for mobile menu button overlap * - use new dynamic vh css prop to handle ios safari double scrolling - only force tabs height when online * cleanup * add comment
This commit is contained in:
parent
89bd0c2606
commit
4703a64878
@ -4,7 +4,8 @@
|
|||||||
// this margin is for fixed header
|
// this margin is for fixed header
|
||||||
padding-top: var(--header-height);
|
padding-top: var(--header-height);
|
||||||
background-color: var(--theme-color-main-background);
|
background-color: var(--theme-color-main-background);
|
||||||
min-height: 100vh;
|
min-height: 100dvh;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
// add some spacing between the last row of content and the footer
|
// add some spacing between the last row of content and the footer
|
||||||
|
@ -20,6 +20,12 @@
|
|||||||
&.online {
|
&.online {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: calc(var(--player-container-height) + var(--status-bar-height) + var(--header-height));
|
top: calc(var(--player-container-height) + var(--status-bar-height) + var(--header-height));
|
||||||
|
|
||||||
|
// As we want content in the tabs to scroll within itself, force the tabs to display max height at all times.
|
||||||
|
// (We don't have to do this when not-online because we're having the entire layout scroll.
|
||||||
|
:global(.ant-tabs-content) {
|
||||||
|
height: 100% !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,7 +61,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
z-index: 200;
|
z-index: 199;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -162,7 +162,6 @@ DROPDOWN
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.ant-tabs-content {
|
.ant-tabs-content {
|
||||||
height: 100% !important;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.ant-tabs-tabpane-active {
|
.ant-tabs-tabpane-active {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user