Skip to content

Commit d493015

Browse files
authored
Fix Navbar covering heading while using anchor in docs (#3235)
* Fix Navbar covering heading while using anchor in docs * reduced number of lines of code from 2 to 1 * Forgot to do tests before. Have done those now with no errors
1 parent 25cc703 commit d493015

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/theme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ const sharedStyles = {
318318
},
319319

320320
lineHeight: 1.2,
321+
scrollMarginTop: 120,
321322

322323
':first-child': {
323324
'::before': {

0 commit comments

Comments
 (0)