Skip to content

Commit c8c2ae4

Browse files
committed
fix(scroll-buttons): add z-index to scroll buttons for improved visibility
1 parent 2509ab3 commit c8c2ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/blog/scroll-buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function ScrollButtons() {
1717
}, [])
1818

1919
return (
20-
<div className={clsx('fixed bottom-8 right-8 hidden flex-col gap-3', show && 'lg:flex')}>
20+
<div className={clsx('fixed bottom-8 right-8 z-50 hidden flex-col gap-3', show && 'lg:flex')}>
2121
<ScrollButton
2222
ariaLabel="Scroll To Top"
2323
onClick={() => window.scrollTo({ top: 0 })}

0 commit comments

Comments
 (0)