View menu: the density labels are centred in their segments
The dropdown's own rule sets every button in it to text-align: start, which the segment buttons inherited (Paul, 2026-11-12).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+1
−0
internal/fichas/static/fichas.css+1 −0
CI passed — run details
CI log
=== vet === go vet ./... go vet -tags browser ./internal/fichastest/ === fmt === === test === go test ./... ? amadan.net/oficina/fichas/cmd/fichas [no test files] ok amadan.net/oficina/fichas/internal/fichas 1.891s ? amadan.net/oficina/fichas/internal/fichas/icons [no test files] ok amadan.net/oficina/fichas/internal/fichas/seal (cached) ok amadan.net/oficina/fichas/internal/fichastest 1.111s ? amadan.net/oficina/fichas/scripts/mockups [no test files] ? amadan.net/oficina/fichas/scripts/preview [no test files] ? amadan.net/oficina/fichas/scripts/writeestilo [no test files] === migration-check === go tool rastrillo migration check rastrillo migration check: models and migrations agree
diff --git a/internal/fichas/static/fichas.css b/internal/fichas/static/fichas.css| index 6ae72de..d32dc59 100644 |
| --- a/internal/fichas/static/fichas.css |
| +++ b/internal/fichas/static/fichas.css |
| @@ -264,6 +264,7 @@ |
| font: inherit; |
| font-size: var(--rst-fs-sm); |
| font-weight: 600; |
| + text-align: center; /* the dropdown sets its rows' text to the start */ |
| cursor: pointer; |
| } |
| [fichas-view-seg] button[aria-pressed="true"] { |