Overlay scrollbars via OverlayScrollbars

overflow: overlay is dead in current Chromium, so an appearing native
scrollbar shifted the layout again. OverlayScrollbars replaces it with
floating auto-hiding scrollbars that never reserve space (native window
scroll APIs unaffected on a body target). Themed via --os-* variables in
pagerite.css; the html scrollbar-color styling stays as no-JS fallback.
(package-lock.json is gitignored.)
This commit is contained in:
2026-08-18 20:30:08 +00:00
parent 7f140001fa
commit a75ad6f5da
4 changed files with 29 additions and 21 deletions
+1
View File
@@ -18,6 +18,7 @@
"@codemirror/view": "^6.43.8",
"@lezer/highlight": "^1.2.3",
"codemirror": "^6.0.2",
"overlayscrollbars": "^2.16.0",
"paskia": "file:../../paskia/paskia-js",
"transliteration": "^2.6.1",
"vue": "^3.5.26",