Docs list: larger row sheets; the search spinner takes the magnifier's place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+18
−2
internal/docs/views/list.html+18 −2
CI passed — run details
diff --git a/internal/docs/views/list.html b/internal/docs/views/list.html| index 5a7cc3b..2645df9 100644 |
| --- a/internal/docs/views/list.html |
| +++ b/internal/docs/views/list.html |
| @@ -169,6 +169,14 @@ |
| [docs-search-submit]:hover { |
| color: var(--rst-accent); |
| } |
| + /* estilo busy.js puts its spinner into any submit that is slow to |
| + answer, and swaps it for the label only on an [rst-btn]. This |
| + button is an icon in a grid cell, so without this the ring lands |
| + in a second row under the magnifier: it takes the magnifier's |
| + place instead. */ |
| + [docs-search-submit][aria-busy="true"]:has(> [rst-spin]) > svg { |
| + display: none; |
| + } |
| [docs-search-submit] svg, |
| [docs-create-form] svg { |
| inline-size: 18px; |
| @@ -348,10 +356,18 @@ |
| box-shadow: 0 1px 2px light-dark(rgb(23 32 60 / 0.05), transparent); |
| } |
| [docs-list] [rst-row] { |
| - gap: var(--rst-sp-3); |
| + gap: var(--rst-sp-4); |
| } |
| + /* Big enough to read the page's shape, its headings and paragraphs, |
| + at a glance: 44px is a sheet a person can tell from its |
| + neighbours, where 26px was a bordered box. */ |
| [rst-row] [docs-thumb] { |
| - inline-size: 26px; |
| + inline-size: 44px; |
| + margin-block: 2px; |
| + box-shadow: |
| + 0 0 0 1px light-dark(rgb(23 32 60 / 0.10), rgb(255 255 255 / 0.08)), |
| + 0 1px 2px rgb(23 32 60 / 0.08), |
| + 0 4px 10px -6px rgb(23 32 60 / 0.25); |
| } |
| /* A group's heading inside the list: sentence case, the muted ink, |
| weight doing the work rather than capitals. */ |