Rail: space and align icons, tighten group headings
Rastrillo's sidebar nav links are display:block and the icon spacing rule only covered page and brand icons, so rail icons touched their labels. Lay rail links out as centred flex rows, give their icons the same trailing space, and replace the group headings' default paragraph margins with one top gap. Checked in Chromium on a local copy; make ci passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+3
−2
internal/equipo/static/equipo.css+3 −2
CI passed — run details
Intent
Human
Icon spacing got messed up (rail icons touch their labels; group headings have too much space).
diff --git a/internal/equipo/static/equipo.css b/internal/equipo/static/equipo.css| index 4226d850..ef1cefc0 100644 |
| --- a/internal/equipo/static/equipo.css |
| +++ b/internal/equipo/static/equipo.css |
| @@ -2,7 +2,7 @@ |
| [equipo-card], [equipo-note] { border: 1px solid var(--rst-line); border-radius: var(--rst-radius); padding: var(--rst-sp-4); margin-block: var(--rst-sp-4); background: var(--rst-surface-2); } |
| [equipo-card] { background: var(--rst-surface); min-width: 0; } |
| [equipo-account] { margin-block: var(--rst-sp-6); } |
| -[equipo-nav-group] { color: var(--rst-text-muted); padding: var(--rst-sp-2); font-size: var(--rst-fs-sm); } |
| +[equipo-nav-group] { color: var(--rst-text-muted); margin: var(--rst-sp-4) 0 0; padding: var(--rst-sp-1) 0.55rem; font-size: var(--rst-fs-sm); } |
| [equipo-muted], [equipo-metadata] dt { color: var(--rst-text-muted); } |
| [equipo-metadata] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--rst-sp-2); } |
| [equipo-metadata] dd { margin: 0; } |
| @@ -12,4 +12,5 @@ |
| [equipo-form] input, [equipo-form] select, [equipo-form] textarea { width: 100%; min-width: 0; box-sizing: border-box; } |
| [equipo-form] button { justify-self: start; } |
| [rst-page] { overflow-wrap: anywhere; } |
| -[rst-page] .icon, [rst-shell-brand] .icon { width: 1em; height: 1em; flex-shrink: 0; margin-inline-end: var(--rst-sp-2); } |
| +[rst-shell-sidebar] [rst-shell-nav] a { display: flex; align-items: center; } |
| +[rst-page] .icon, [rst-shell-brand] .icon, [rst-shell-nav] .icon { width: 1em; height: 1em; flex-shrink: 0; margin-inline-end: var(--rst-sp-2); } |