Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion site/components/Scroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ export function BackToTop() {
// even on the pages where the button never appears.
<div
ref={wrapper}
className="pointer-events-none fixed right-8 bottom-8 z-20"
// Below the header's layer, not above it: the phone menu drops out of the
// header down this same right edge, and a z above it put this button in
// the middle of that menu's links.
className="pointer-events-none fixed right-8 bottom-8 z-0"
style={{ transform: `translateY(${-lift}px)` }}
>
<button
Expand Down