Use safe areas for backdrop inset

This commit is contained in:
Lim Chee Aun 2023-02-28 15:51:00 +08:00
parent 59cf6b2a58
commit d001f30157

View file

@ -1044,6 +1044,8 @@ body:has(.status-deck) .media-post-link {
.szh-menu-container:has(.szh-menu--state-open) {
inset: 0;
inset: max(0, env(safe-area-inset-top)) max(0, env(safe-area-inset-right))
max(0, env(safe-area-inset-bottom)) max(0, env(safe-area-inset-left));
}
.szh-menu {
padding: 8px 0;