1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(web): prevent layout change from scrollbar in admin setings (#6482)

stable scrollbar
This commit is contained in:
Mert 2024-01-18 22:30:48 -05:00 committed by GitHub
parent 20c284407c
commit b4d1470586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -132,4 +132,8 @@ input:focus-visible {
display: none;
scrollbar-width: none;
}
.scrollbar-stable {
scrollbar-gutter: stable both-edges;
}
}

View File

@ -42,7 +42,7 @@
</div>
{/if}
<div class="{scrollbarClass} absolute {hasTitleClass} w-full overflow-y-auto">
<div class="{scrollbarClass} scrollbar-stable absolute {hasTitleClass} w-full overflow-y-auto">
<slot />
</div>
</section>