We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aef0c7 commit 906bdd3Copy full SHA for 906bdd3
src/librustdoc/html/static/css/rustdoc.css
@@ -6,6 +6,10 @@
6
3. Copy the filenames with updated suffixes from the directory.
7
*/
8
9
+:root {
10
+ --nav-sub-mobile-padding: 8px;
11
+}
12
+
13
/* See FiraSans-LICENSE.txt for the Fira Sans license. */
14
@font-face {
15
font-family: 'Fira Sans';
@@ -1726,7 +1730,7 @@ in main.js
1726
1730
1727
1731
.source nav.sub {
1728
1732
margin: 0;
1729
- padding: 8px;
1733
+ padding: var(--nav-sub-mobile-padding);
1734
}
1735
1736
@@ -1783,6 +1787,7 @@ in main.js
1783
1787
.sub-logo-container > img {
1784
1788
height: 35px;
1785
1789
width: 35px;
1790
+ margin-bottom: var(--nav-sub-mobile-padding);
1786
1791
1792
1793
0 commit comments