Use overflow-y:scroll to guarantee gutter space, navbar ::after covers it

This commit is contained in:
2026-07-06 12:14:25 +02:00
parent d223113b3e
commit 173b439497
@@ -7,7 +7,7 @@
<link href="https://cdn.jsdelivr.net/npm/daisyui@4/dist/full.min.css" rel="stylesheet">
<script src="https://unpkg.com/htmx.org@2/dist/htmx.min.js"></script>
<style>
html { scrollbar-gutter: stable; }
html { overflow-y: scroll; }
.navbar { position: relative; }
.navbar::after { content: ''; position: absolute; right: calc(-1 * (100vw - 100%)); top: 0; width: calc(100vw - 100%); height: 100%; background: var(--fallback-b3, oklch(var(--b3)/1)); pointer-events: none; }
#search-wrapper { position: relative; width: 100%; }