Trust page: room inside the summary badges (refs #79) 6ff755541a62
ul.plain li's padding beat the badges' own, so their text touched the border; the summary list's badges now keep theirs.
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-10-02 12:57 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
6ff755541a622b944b170f3a83dfb95ecf972a4387dd77ff481a34df28e05e82- Depends on
- bf5101d394c0 d23464c0ac60
- Depended on by
- nothing yet
- In bookmarks
- api-unknown-fields cancel-landed-runs clear-waiting close-proposal-140 diffusion-pin-bookmark draft-ready image-check job-waits main oh-comment-body-file proposal-list-fast run-one-job wiki-says-so
- In tags
- v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.5.0 v0.5.1 v0.5.2 v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
- Edits
- 3 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified templates/style.css +4 −2
| … | 589 unchanged lines |
||
| 590 | 590 | svg.trust-graph .node.fail .mark { fill: var(--bad); font-weight: 700; font-size: 12px; } |
|
| 591 | 591 | svg.trust-graph text.t { font-weight: 600; } |
|
| 592 | 592 | /* Trust badges: the page's summary, and the assets' headings. */ |
|
| 593 | - | .trust-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; } |
|
| 593 | + | ul.plain.trust-summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; } |
|
| 594 | + | /* ul.plain li's padding would otherwise win and the text would touch the border. */ |
|
| 595 | + | ul.plain.trust-summary li.tb { padding: 5px 14px 5px 12px; gap: 8px; } |
|
| 594 | 596 | .tb { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; } |
|
| 595 | - | .tb-sm { padding: 1px 8px; font-size: 12px; vertical-align: middle; } |
|
| 597 | + | .tb-sm { padding: 2px 10px; font-size: 12px; vertical-align: middle; } |
|
| 596 | 598 | .tb-mark { display: inline-flex; font-weight: 700; } |
|
| 597 | 599 | .tb-pass { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, transparent); } |
|
| 598 | 600 | .tb-warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: color-mix(in srgb, var(--warn) 8%, transparent); } |
|
| … | 66 unchanged lines |