Use bottom inset
... fixes content being stuck behind the tab bar in apps
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
overflow-y: auto;
|
||||
|
||||
.is-expanded & {
|
||||
padding: var(--column-padding);
|
||||
padding: var(--column-padding) var(--column-padding) calc(var(--column-padding) + var(--custom-safe-inset-bottom));
|
||||
|
||||
/* Use the rest of the column height for scrolling */
|
||||
@media (max-width: 639px) {
|
||||
|
||||
@@ -8,6 +8,15 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Layout
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
||||
&:not(.contained-scrolling) {
|
||||
#main {
|
||||
padding-block-end: var(--custom-safe-inset-bottom);
|
||||
}
|
||||
}
|
||||
|
||||
/* Header
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user