Skip to content

Commit 3404349

Browse files
rsesegracepark
andauthored
Fix sticky header issue in Firefox (github#27159)
* Redundant sticky? * update zindex to bring scroll button up Co-authored-by: Grace Park <[email protected]>
1 parent b1bcaa8 commit 3404349

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/DefaultLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const DefaultLayout = (props: Props) => {
100100
<SupportSection />
101101
<SmallFooter />
102102
<ScrollButton
103-
className="position-fixed bottom-0 mb-4 right-0 mr-4"
103+
className="position-fixed bottom-0 mb-4 right-0 mr-4 z-1"
104104
ariaLabel={t('scroll_to_top')}
105105
/>
106106
</footer>

components/page-header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const Header = () => {
5252
return (
5353
<div
5454
className={cx(
55-
'border-bottom d-unset color-border-muted no-print z-3 color-bg-default position-sticky top-0',
55+
'border-bottom d-unset color-border-muted no-print z-3 color-bg-default',
5656
styles.header
5757
)}
5858
>

0 commit comments

Comments
 (0)