Fix mobile panel safe area
This commit is contained in:
1 parent
41405bcc4f
commit
b388711dcf
4 files changed
+40
-3
No files matched your search
+8
-1
@@ -1276,6 +1276,8 @@ input[type="checkbox"] {
|
||||
z-index: 1100;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
width: min(430px, calc(100% - 48px));
|
||||
border-left: 1px solid var(--line);
|
||||
background: var(--panel);
|
||||
@@ -1328,10 +1330,15 @@ h2 {
|
||||
}
|
||||
|
||||
.panel-content {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 12px;
|
||||
overflow-y: auto;
|
||||
padding: 15px 16px 24px;
|
||||
overscroll-behavior: contain;
|
||||
padding: 15px 16px max(32px, calc(24px + env(safe-area-inset-bottom)));
|
||||
scroll-padding-bottom: max(32px, calc(24px + env(safe-area-inset-bottom)));
|
||||
}
|
||||
|
||||
.panel-section {
|
||||
|
||||
Reference in new issue
Block a user