mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-19 01:18:54 +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) {
|
:global(dialog .dialog-body) {
|
||||||
margin-bottom: calc(
|
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;
|
) !important;
|
||||||
box-shadow: 0 0 0 2px var(--popup-stroke) inset;
|
box-shadow: 0 0 0 2px var(--popup-stroke) inset;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue