mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 04:50:13 +02:00
web/DialogHolder: improve bottom margin in mobile pwa
This commit is contained in:
parent
8d7f0d984f
commit
bc70cf4b6b
@ -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…
x
Reference in New Issue
Block a user