Settings: fix sticky headers
All checks were successful
/ depoly (push) Successful in 1m23s

This commit is contained in:
thislight 2024-11-19 18:10:13 +08:00
parent 5f504024a3
commit e174b7aafd
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -182,7 +182,8 @@ const Settings: Component = () => {
.setting-list { .setting-list {
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + 16px); padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + 16px);
overflow: hidden auto; overflow: hidden auto;
height: calc(100% - var(--scaffold-topbar-height, 0)); height: calc(100vh - var(--scaffold-topbar-height, 0));
height: calc(100dvh - var(--scaffold-topbar-height, 0));
} }
`; `;
return ( return (