Commit b5de98d
committed
style.css: fluid spacing of nav-links for mobile
Before we had a set gap inbetween each link. That means that carriage
returns happen quickly on mobile. Once we switch to mobile width, let
flexbox justify-content spread links on the line. It'll wrap once there
is no more space.
Previously, most mobiles showed two lines of links.
Now we only have one (but links are closer).
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>1 parent fc8106d commit b5de98d
2 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1515 | 1520 | | |
1516 | 1521 | | |
1517 | 1522 | | |
1518 | 1523 | | |
1519 | 1524 | | |
1520 | 1525 | | |
1521 | 1526 | | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | | - | |
1526 | 1527 | | |
1527 | 1528 | | |
1528 | 1529 | | |
| |||
1556 | 1557 | | |
1557 | 1558 | | |
1558 | 1559 | | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1559 | 1566 | | |
1560 | 1567 | | |
1561 | 1568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments