Skip to content

Commit 96ef7e9

Browse files
scroll top now the size of the searchbar
1 parent da2edc2 commit 96ef7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/html_support_files/odoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
:root,
9797
.light:root {
9898

99-
scroll-padding-top: 100px;
99+
scroll-padding-top: calc(var(--search-bar-height) + var(--search-padding-top) + 1em);
100100

101101
--main-background: #FFFFFF;
102102

0 commit comments

Comments
 (0)