File tree 1 file changed +3
-10
lines changed
src/librustdoc/html/static/css
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -493,9 +493,7 @@ ul.block, .block li {
493
493
.sidebar h2 {
494
494
overflow-wrap : anywhere;
495
495
padding : 0 ;
496
- margin : 0 ;
497
- margin-top : 0.7rem ;
498
- margin-bottom : 0.7rem ;
496
+ margin : 0.7rem 0 ;
499
497
}
500
498
501
499
.sidebar h3 {
@@ -803,10 +801,8 @@ table,
803
801
}
804
802
# crate-search {
805
803
min-width : 115px ;
806
- padding : 0 ;
807
804
/* keep these two in sync with "@-moz-document url-prefix()" below */
808
- padding-left : 4px ;
809
- padding-right : 23px ;
805
+ padding : 0 23px 0 4px ;
810
806
/* prevents the <select> from overflowing the containing div in case it's shrunk */
811
807
max-width : 100% ;
812
808
/* contents can overflow because of max-width limit, then show ellipsis */
@@ -1719,7 +1715,6 @@ in storage.js
1719
1715
/* Hide the sidebar offscreen while not in use. Doing this instead of display: none means
1720
1716
the sidebar stays visible for screen readers, which is useful for navigation. */
1721
1717
left : -1000px ;
1722
- margin-left : 0 ;
1723
1718
margin : 0 ;
1724
1719
padding : 0 ;
1725
1720
z-index : 11 ;
@@ -1772,9 +1767,7 @@ in storage.js
1772
1767
.mobile-topbar .logo-container > img {
1773
1768
max-width : 35px ;
1774
1769
max-height : 35px ;
1775
- margin-left : 20px ;
1776
- margin-top : 5px ;
1777
- margin-bottom : 5px ;
1770
+ margin : 5px 0 5px 20px ;
1778
1771
}
1779
1772
1780
1773
.mobile-topbar {
You can’t perform that action at this time.
0 commit comments