Commit de0d18a
authored
Rollup merge of rust-lang#105155 - notriddle:notriddle/flexbox-help-settings-buttons, r=GuillaumeGomez
rustdoc: clean up help and settings button CSS
The old version of this code specified a bunch of different numbers that had to line up just right to get the size it wanted. This version uses flexbox centering, specifies the font size, and lets the browser figure out the rest of the layout automatically.
Preview: http://notriddle.com/notriddle-rustdoc-demos/flexbox-help-settings-buttons/test_dingus/1 file changed
+10
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
| 911 | + | |
911 | 912 | | |
912 | 913 | | |
913 | 914 | | |
| |||
1357 | 1358 | | |
1358 | 1359 | | |
1359 | 1360 | | |
1360 | | - | |
| 1361 | + | |
1361 | 1362 | | |
1362 | 1363 | | |
1363 | 1364 | | |
1364 | 1365 | | |
1365 | | - | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | 1375 | | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1376 | 1379 | | |
1377 | 1380 | | |
1378 | 1381 | | |
| |||
1408 | 1411 | | |
1409 | 1412 | | |
1410 | 1413 | | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | 1414 | | |
1420 | 1415 | | |
1421 | 1416 | | |
| |||
1658 | 1653 | | |
1659 | 1654 | | |
1660 | 1655 | | |
1661 | | - | |
1662 | | - | |
1663 | | - | |
1664 | | - | |
1665 | 1656 | | |
1666 | 1657 | | |
1667 | 1658 | | |
| |||
1795 | 1786 | | |
1796 | 1787 | | |
1797 | 1788 | | |
1798 | | - | |
1799 | | - | |
| 1789 | + | |
| 1790 | + | |
1800 | 1791 | | |
1801 | 1792 | | |
1802 | 1793 | | |
| |||
0 commit comments