@@ -182,17 +182,16 @@ h1, h2, h3, h4 {
182
182
"main-heading-breadcrumbs main-heading-breadcrumbs"
183
183
"main-heading-h1 main-heading-toolbar"
184
184
"main-heading-sub-heading main-heading-toolbar" ;
185
- grid-template-columns : 1fr max-content;
186
- grid-template-rows : 25px min-content min-content;
185
+ grid-template-columns : minmax ( 105 px , 1fr ) minmax ( 0 , max-content) ;
186
+ grid-template-rows : minmax ( 25px , min-content) min-content min-content;
187
187
padding-bottom : 6px ;
188
188
margin-bottom : 11px ;
189
189
}
190
190
.rustdoc-breadcrumbs {
191
191
grid-area : main-heading-breadcrumbs;
192
- height : 25px ;
193
192
line-height : 1.25 ;
194
- display : flex;
195
193
align-items : end;
194
+ padding-top : 5px ;
196
195
}
197
196
.rustdoc-breadcrumbs a {
198
197
padding : 4px 0 ;
@@ -928,6 +927,7 @@ rustdoc-toolbar {
928
927
display : flex;
929
928
flex-direction : row;
930
929
flex-wrap : nowrap;
930
+ min-height : 60px ;
931
931
}
932
932
933
933
.docblock code , .docblock-short code ,
@@ -1104,17 +1104,17 @@ table,
1104
1104
.search-results-title + .sub-heading {
1105
1105
color : var (--main-color );
1106
1106
display : flex;
1107
- align-items : center;
1107
+ align-items : baseline;
1108
+ white-space : nowrap;
1108
1109
}
1109
1110
# crate-search-div {
1110
1111
/* ensures that 100% in properties of #crate-search-div:after
1111
1112
are relative to the size of this div */
1112
1113
position : relative;
1113
1114
/* allows this div (and with it the <select>-element "#crate-search") to be shrunk */
1114
- min-width : 5 em ;
1115
+ min-width : 0 ;
1115
1116
}
1116
1117
# crate-search {
1117
- min-width : 115px ;
1118
1118
padding : 0 23px 0 4px ;
1119
1119
/* prevents the <select> from overflowing the containing div in case it's shrunk */
1120
1120
max-width : 100% ;
@@ -1825,6 +1825,7 @@ a.tooltip:hover::after {
1825
1825
margin-left : var (--button-left-margin );
1826
1826
display : flex;
1827
1827
line-height : 1.25 ;
1828
+ min-width : 14px ;
1828
1829
}
1829
1830
# sidebar-button {
1830
1831
display : none;
@@ -1861,6 +1862,9 @@ a.tooltip:hover::after {
1861
1862
width : 80px ;
1862
1863
border-radius : var (--toolbar-button-border-radius );
1863
1864
}
1865
+ # settings-menu > a , # help-button > a {
1866
+ min-width : 0 ;
1867
+ }
1864
1868
# sidebar-button > a {
1865
1869
background-color : var (--button-background-color );
1866
1870
border-color : var (--border-color );
0 commit comments