disable rubberband in :root and bottom sheets

This commit is contained in:
thislight 2024-09-27 18:10:23 +08:00
parent 47bd6711e4
commit 7f1140769e
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
--safe-area-inset-bottom: env(safe-area-inset-bottom); --safe-area-inset-bottom: env(safe-area-inset-bottom);
--safe-area-inset-right: env(safe-area-inset-right); --safe-area-inset-right: env(safe-area-inset-right);
background-color: var(--tutu-color-surface, transparent); background-color: var(--tutu-color-surface, transparent);
overscroll-behavior-block: contain; overscroll-behavior-block: none;
} }
.custom-emoji { .custom-emoji {

View file

@ -9,7 +9,7 @@
width: 100%; width: 100%;
max-width: 560px; max-width: 560px;
border-radius: 2px; border-radius: 2px;
overscroll-behavior: contain; overscroll-behavior: none;
max-height: 100vh; max-height: 100vh;
max-height: 100dvh; max-height: 100dvh;