Rows under a topic's heading are one list of that topic: their dividers stop at the text edges, so a release's assets and the health page's storage and services no longer read as separate topics, and the last row of a list draws no line under it, closed or open
Browse files at this commit20f68aec0cd7a58220c2b369e1de4c9697d5dea4Parent: c8ea10cAll checks have passed
Show checks
ci/buildSucceededDetails
- style
- rows under a topic's heading are one list of that topic: their dividers stop at the text edges, so a release's assets and the health page's storage and services no longer read as separate topics, and the last row of a list draws no line under it, closed or open
1 changed file +15 -0
- style/_one.scss +15 -0
style/_one.scssmodified+15 -0
| @@ -1488,6 +1488,21 @@ a.line:hover .name, | |||
| 1488 | border-bottom: 0; | 1488 | border-bottom: 0; |
| 1489 | } | 1489 | } |
| 1490 | 1490 | ||
| 1491 | +// Rows under a topic's heading are one list of that topic: their dividers stop at the text edges, | ||
| 1492 | +// so only the lines between topics run edge to edge. | ||
| 1493 | +.sheet > .sec:has(> h2) > .line, | ||
| 1494 | +.sheet > .sec:has(> h2) > .row-open > .line, | ||
| 1495 | +.sheet > .sec:has(> h2) > .row-open > .opened { | ||
| 1496 | + margin: 0; | ||
| 1497 | + padding-right: 0; | ||
| 1498 | + padding-left: 0; | ||
| 1499 | +} | ||
| 1500 | + | ||
| 1501 | +// The last row of a list ends on its topic's edge, closed or open, as a plain line does. | ||
| 1502 | +.row-open:last-child:not([open]) > summary.line { | ||
| 1503 | + border-bottom: 0; | ||
| 1504 | +} | ||
| 1505 | + | ||
| 1491 | // Tags | 1506 | // Tags |
| 1492 | 1507 | ||
| 1493 | .badge, | 1508 | .badge, |