Skip to content

Commit 5e26b65

Browse files
committed
fix(anchors): reduce offset
1 parent dec2d86 commit 5e26b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/components/BugDetail/AnchorButtons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const AnchorButtons = ({
4747
containerId={scrollerBoxId || 'main'}
4848
smooth
4949
duration={500}
50-
offset={-50}
50+
offset={0}
5151
onClick={() => {
5252
setOpenAccordions([...openAccordions, 'details']);
5353
}}
@@ -62,7 +62,7 @@ export const AnchorButtons = ({
6262
containerId={scrollerBoxId || 'main'}
6363
smooth
6464
duration={500}
65-
offset={-50}
65+
offset={0}
6666
onClick={() => {
6767
setOpenAccordions([...openAccordions, 'duplicates']);
6868
}}

0 commit comments

Comments
 (0)