TootBottomSheet: fix the Scaffold overflow
All checks were successful
/ depoly (push) Successful in 1m22s

This commit is contained in:
thislight 2024-11-10 22:35:11 +08:00
parent 85cb7ad081
commit 4fa6cb4afc
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -1,12 +1,12 @@
.TootBottomSheet { .TootBottomSheet {
overflow: hidden; overflow: hidden;
height: calc(100% - var(--scaffold-topbar-height, 0px));
.Scrollable { .Scrollable {
padding-bottom: var(--safe-area-inset-bottom, 0); padding-bottom: var(--safe-area-inset-bottom, 0);
overflow-y: auto; overflow-y: auto;
overscroll-behavior-y: contain; overscroll-behavior-y: contain;
max-height: calc(100vh - var(--scaffold-topbar-height, 0px)); height: 100%;
max-height: calc(100dvh - var(--scaffold-topbar-height, 0px));
} }
.progress-line { .progress-line {