We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c278b9 commit ad55286Copy full SHA for ad55286
templates/style.scss
@@ -52,13 +52,34 @@ div.rustdoc {
52
font-family: $font-family-serif;
53
padding: 10px 15px 20px 15px;
54
55
+ @media (max-width: 700px) {
56
+ padding-top: 0;
57
+ }
58
+
59
.sidebar {
- padding-top: 32px;
60
+ @media (min-width: 701px) {
61
+ padding-top: 32px;
62
63
64
.block > ul > li {
65
margin-right: -10px;
66
}
67
68
69
70
+ .sidebar.mobile {
71
+ top: 32px;
72
73
+ .sidebar-elems.show-it {
74
+ top: 77px;
75
76
77
+ #sidebar-filler {
78
79
80
81
82
83
// this is actual fix for docs.rs navigation and rustdoc sidebar
84
position: absolute;
85
left: 0;
0 commit comments