Codebase audits, privacy, dark mode, palette (v1.9.0 to v1.9.4-audit) #14
1 changed files with 4 additions and 1 deletions
|
|
@ -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).
|
||||
<div
|
||||
className="min-h-screen overflow-x-hidden"
|
||||
className="min-h-screen overflow-x-clip"
|
||||
style={{ "--header-h": `${headerHeight}px` } as React.CSSProperties}
|
||||
>
|
||||
<a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue