mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-15 15:26:34 +01:00
web/DialogHolder: improve bottom margin in mobile pwa
This commit is contained in:
parent
8d7f0d984f
commit
bc70cf4b6b
1 changed files with 5 additions and 1 deletions
|
@ -136,7 +136,11 @@
|
|||
|
||||
:global(dialog .dialog-body) {
|
||||
margin-bottom: calc(
|
||||
var(--padding) / 2 + env(safe-area-inset-bottom)
|
||||
var(--padding) + calc(
|
||||
env(safe-area-inset-bottom) - 15px * sign(
|
||||
env(safe-area-inset-bottom)
|
||||
)
|
||||
)
|
||||
) !important;
|
||||
box-shadow: 0 0 0 2px var(--popup-stroke) inset;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue