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 {
@@ -805,10 +803,8 @@ table,
805
803
}
806
804
# crate-search {
807
805
min-width : 115px ;
808
- padding : 0 ;
809
806
/* keep these two in sync with "@-moz-document url-prefix()" below */
810
- padding-left : 4px ;
811
- padding-right : 23px ;
807
+ padding : 0 23px 0 4px ;
812
808
/* prevents the <select> from overflowing the containing div in case it's shrunk */
813
809
max-width : 100% ;
814
810
/* contents can overflow because of max-width limit, then show ellipsis */
@@ -1724,7 +1720,6 @@ in storage.js
1724
1720
/* Hide the sidebar offscreen while not in use. Doing this instead of display: none means
1725
1721
the sidebar stays visible for screen readers, which is useful for navigation. */
1726
1722
left : -1000px ;
1727
- margin-left : 0 ;
1728
1723
margin : 0 ;
1729
1724
padding : 0 ;
1730
1725
z-index : 11 ;
@@ -1777,9 +1772,7 @@ in storage.js
1777
1772
.mobile-topbar .logo-container > img {
1778
1773
max-width : 35px ;
1779
1774
max-height : 35px ;
1780
- margin-left : 20px ;
1781
- margin-top : 5px ;
1782
- margin-bottom : 5px ;
1775
+ margin : 5px 0 5px 20px ;
1783
1776
}
1784
1777
1785
1778
.mobile-topbar {
You can’t perform that action at this time.
0 commit comments