Skip to content

Commit 0bebbab

Browse files
committed
rustbook: Decrease the max-width for the mobile view
This should fix #22682. "max-width: 1023px" seems like a good compromise here. This way, 1024x768 monitors will still see the sidebar (plus, iPad in landscape mode).
1 parent b68e916 commit 0bebbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustbook/static/rustbook.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ h1, h2, h3, h4, h5, h6 {
5555
}
5656
}
5757

58-
@media only screen and (max-width: 1060px) {
58+
@media only screen and (max-width: 1023px) {
5959
#toc {
6060
width: 100%;
6161
top: 40px;

0 commit comments

Comments
 (0)