Retry this again

max(0, env) doesn't work at all lolol
This commit is contained in:
Lim Chee Aun 2023-02-28 16:56:30 +08:00
parent 1ae135f21a
commit dd1cd56a87
2 changed files with 7 additions and 7 deletions

View file

@ -1044,8 +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));
inset: env(safe-area-inset-top) env(safe-area-inset-right)
env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.szh-menu {
padding: 8px 0;

View file

@ -565,11 +565,11 @@ function Status({
target:
document.querySelector('.status-deck') || document.body,
}}
// containerProps={{
// onClick: () => {
// menuInstanceRef.current?.closeMenu?.();
// },
// }}
containerProps={{
onClick: () => {
menuInstanceRef.current?.closeMenu?.();
},
}}
align="end"
offsetY={4}
overflow="auto"