Skip to content

Commit 7ecc0fa

Browse files
author
shenweiyan
committed
修复锚点定位,高度位置过高问题
1 parent 71f8738 commit 7ecc0fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/assets/stylesheets/extra.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,6 @@ html {
117117
50% { transform: scale(1.2); }
118118
60% { transform: scale(1.15); }
119119
75% { transform: scale(1.2); }
120-
}
120+
}
121+
122+
.md-header--lifted~.md-container .md-typeset :target{--md-scroll-margin: 5rem;}

0 commit comments

Comments
 (0)