diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 3bbf9ae..0cff43e 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -158,8 +158,11 @@ export default function Layout() { }, [location.pathname, headerHeight]); return ( + // overflow-x-clip, not -hidden: hidden makes this div a scroll + // container, and then nothing inside it can be position: sticky + // (a blog post's contents column scrolled away with the page).