Fix/css tweaks and bugs #11

Merged
ilia merged 13 commits from fix/css-tweaks-and-bugs into main 2026-07-14 15:19:16 +00:00
Showing only changes of commit b63e34413d - Show all commits
+3 -1
View File
@@ -166,6 +166,9 @@
/* Reserve scrollbar gutter so locking body scroll (e.g. when a modal /* Reserve scrollbar gutter so locking body scroll (e.g. when a modal
* opens) doesn't widen the viewport and shift fixed elements. */ * opens) doesn't widen the viewport and shift fixed elements. */
scrollbar-gutter: stable; scrollbar-gutter: stable;
/* Clip at the root, not body: a scroll-container body makes Firefox clip
* descendant composited transforms that briefly overshoot the viewport. */
overflow-x: hidden;
} }
body { body {
@@ -173,7 +176,6 @@
font-family: var(--font-body); font-family: var(--font-body);
font-weight: var(--font-weight-body); font-weight: var(--font-weight-body);
line-height: var(--line-height-tight); line-height: var(--line-height-tight);
overflow-x: hidden;
} }
/* Page-wide blue dot grain. z-index -1 drops it behind body's content so /* Page-wide blue dot grain. z-index -1 drops it behind body's content so