Use scrollbar-gutter:stable instead of overflow-y:scroll

This commit is contained in:
2026-07-03 21:49:38 +02:00
parent a3b8dd4594
commit 6924301d02
@@ -9,7 +9,7 @@
<style> <style>
#search-wrapper { position: relative; width: 100%; } #search-wrapper { position: relative; width: 100%; }
#search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; } #search-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; }
html { overflow-y: scroll; background: var(--fallback-b1, oklch(var(--b1)/1)); } html { scrollbar-gutter: stable; }
main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem; } main { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; } .icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-xs { width: 12px; height: 12px; flex-shrink: 0; } .icon-xs { width: 12px; height: 12px; flex-shrink: 0; }