Skip to content

Commit 3c8cef4

Browse files
jshasyphar
authored andcommitted
Add styles for rustdoc mobile-topbar
Offset it by the size of the docs.rs topbar.
1 parent b60665a commit 3c8cef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/style/rustdoc-common.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ div.rustdoc {
101101
}
102102
}
103103

104+
.mobile-topbar,
104105
#source-sidebar {
105106
top: $top-navbar-height;
106107
}

0 commit comments

Comments
 (0)