Skip to content

Commit 145d29d

Browse files
authored
Merge pull request #1052 from swiftlang/fb/anchors-fix-scroll
Fix anchor scroll
2 parents 0b9a67d + 13ad24b commit 145d29d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assets/stylesheets/_screen.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ cite {
178178
}
179179

180180
.header-with-anchor {
181+
scroll-margin-top: 80px;
182+
181183
a {
182184
display: none;
183185
color: var(--color-text);

0 commit comments

Comments
 (0)