File tree 1 file changed +6
-23
lines changed
src/librustdoc/html/static/css
1 file changed +6
-23
lines changed Original file line number Diff line number Diff line change @@ -1365,27 +1365,19 @@ pre.rust {
1365
1365
}
1366
1366
1367
1367
# titles {
1368
- height : 35px ;
1368
+ display : flex;
1369
+ flex-direction : row;
1370
+ gap : 1px ;
1371
+ margin-bottom : 4px ;
1369
1372
}
1370
1373
1371
1374
# titles > button {
1372
- float : left;
1373
- width : 33.3% ;
1374
1375
text-align : center;
1375
1376
font-size : 1.125rem ;
1376
1377
cursor : pointer;
1377
1378
border : 0 ;
1378
1379
border-top : 2px solid;
1379
- }
1380
-
1381
- # titles > button : first-child : last-child {
1382
- margin-right : 1px ;
1383
- width : calc (100% - 1px );
1384
- }
1385
-
1386
- # titles > button : not (: last-child ) {
1387
- margin-right : 1px ;
1388
- width : calc (33.3% - 1px );
1380
+ flex : 1 ;
1389
1381
}
1390
1382
1391
1383
# titles > button > div .count {
@@ -1882,12 +1874,7 @@ in storage.js plus the media query with (min-width: 701px)
1882
1874
}
1883
1875
1884
1876
# titles > button > div .count {
1885
- float : left;
1886
- width : 100% ;
1887
- }
1888
-
1889
- # titles {
1890
- height : 50px ;
1877
+ display : block;
1891
1878
}
1892
1879
1893
1880
/* Because of ios, we need to actually have a full height sidebar title so the
@@ -2018,10 +2005,6 @@ in storage.js plus the media query with (min-width: 701px)
2018
2005
}
2019
2006
2020
2007
@media (max-width : 464px ) {
2021
- # titles , # titles > button {
2022
- height : 73px ;
2023
- }
2024
-
2025
2008
# crate-search {
2026
2009
border-radius : 4px ;
2027
2010
}
You can’t perform that action at this time.
0 commit comments