fix: repair Android startup and improve mobile web layouts
This commit is contained in:
1 parent
4c2286e70d
commit
b0cbd0f149
30 files changed
+609
-140
No files matched your search
@@ -196,6 +196,7 @@
|
||||
z-index: 50;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
padding: 16px;
|
||||
background: var(--overlay);
|
||||
animation: pipuIn 0.2s ease-out;
|
||||
@@ -317,3 +318,22 @@
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.button { white-space: normal; height: auto; min-height: 44px; padding: 10px 14px; }
|
||||
.iconButton { width: 44px; height: 44px; flex: none; }
|
||||
.input, .select { font-size: 16px; min-width: 0; }
|
||||
.segmented { flex-wrap: wrap; max-width: 100%; }
|
||||
.segmented button { min-height: 44px; height: auto; padding: 8px 12px; }
|
||||
.overlay { padding: 12px; z-index: 60; }
|
||||
.dialog { min-width: 0; overflow-wrap: anywhere; max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
|
||||
.dialogHead { padding: 16px 16px 0; align-items: flex-start; }
|
||||
.dialogHead h2 { overflow-wrap: anywhere; font-size: 18px; }
|
||||
.dialogBody { padding: 16px; min-width: 0; }
|
||||
.field, .inputWrap { min-width: 0; }
|
||||
.dialogFoot { padding: 0 16px 16px; flex-wrap: wrap; }
|
||||
.dialogFoot > * { flex: 1 1 auto; }
|
||||
.menu { position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px));
|
||||
width: auto; min-width: 0; max-width: none; max-height: 75dvh; overflow-y: auto; z-index: 70; }
|
||||
.menuItem { min-height: 44px; height: auto; padding: 12px; white-space: normal; overflow-wrap: anywhere; }
|
||||
}
|
||||
Reference in new issue
Block a user