mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
fix(mobile): a sheet no longer shows the page through it while it opens
The dim faded in on the sheet's own parent, and opacity multiplies down the tree, so for its first frames even the opaque sheet let the list behind read through as ghost text (Android tester, expense editor). The dim now fades on a layer of its own beside the sheet, and the card is opaque halfway through its pop.
This commit is contained in:
@@ -123,9 +123,11 @@ html[dir='rtl']:has(.m-shell[data-size='wide'], .m-shell[data-size='split']) .m-
|
||||
|
||||
/* ── Keyframes ──────────────────────────────────────────────────────────── */
|
||||
|
||||
/* The floating card pops in place, the way a native alert does. */
|
||||
/* The floating card pops in place, the way a native alert does. It is opaque
|
||||
halfway through the pop, so the page behind never reads through its fields. */
|
||||
@keyframes m-sheet-in {
|
||||
from { opacity: 0; transform: translateY(10px) scale(.96); }
|
||||
45% { opacity: 1; }
|
||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
@keyframes m-sheet-out {
|
||||
|
||||
Reference in New Issue
Block a user