Skip to content

Commit 039798a

Browse files
committedAug 5, 2023
fix(theme): don't reset scroll position on changing tab in code groups
closes #2732, closes #2362
1 parent 2a7422b commit 039798a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/client/theme-default/styles/components/vp-code-group.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424

2525
.vp-code-group .tabs input {
26-
position: absolute;
26+
position: fixed;
2727
opacity: 0;
2828
pointer-events: none;
2929
}

0 commit comments

Comments
 (0)
Please sign in to comment.