@@ -182,17 +182,18 @@ 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
193
display : flex;
194
+ flex-wrap : wrap;
195
195
align-items : end;
196
+ padding-top : 5px ;
196
197
}
197
198
.rustdoc-breadcrumbs a {
198
199
padding : 4px 0 ;
@@ -928,6 +929,7 @@ rustdoc-toolbar {
928
929
display : flex;
929
930
flex-direction : row;
930
931
flex-wrap : nowrap;
932
+ min-height : 60px ;
931
933
}
932
934
933
935
.docblock code , .docblock-short code ,
@@ -1104,17 +1106,17 @@ table,
1104
1106
.search-results-title + .sub-heading {
1105
1107
color : var (--main-color );
1106
1108
display : flex;
1107
- align-items : center;
1109
+ align-items : baseline;
1110
+ white-space : nowrap;
1108
1111
}
1109
1112
# crate-search-div {
1110
1113
/* ensures that 100% in properties of #crate-search-div:after
1111
1114
are relative to the size of this div */
1112
1115
position : relative;
1113
1116
/* allows this div (and with it the <select>-element "#crate-search") to be shrunk */
1114
- min-width : 5 em ;
1117
+ min-width : 0 ;
1115
1118
}
1116
1119
# crate-search {
1117
- min-width : 115px ;
1118
1120
padding : 0 23px 0 4px ;
1119
1121
/* prevents the <select> from overflowing the containing div in case it's shrunk */
1120
1122
max-width : 100% ;
@@ -1825,6 +1827,7 @@ a.tooltip:hover::after {
1825
1827
margin-left : var (--button-left-margin );
1826
1828
display : flex;
1827
1829
line-height : 1.25 ;
1830
+ min-width : 14px ;
1828
1831
}
1829
1832
# sidebar-button {
1830
1833
display : none;
@@ -1861,6 +1864,9 @@ a.tooltip:hover::after {
1861
1864
width : 80px ;
1862
1865
border-radius : var (--toolbar-button-border-radius );
1863
1866
}
1867
+ # settings-menu > a , # help-button > a {
1868
+ min-width : 0 ;
1869
+ }
1864
1870
# sidebar-button > a {
1865
1871
background-color : var (--button-background-color );
1866
1872
border-color : var (--border-color );
0 commit comments