[v11.0/forgejo] fix(ui): use gap in switch items (#7589)

**Backport:** https://codeberg.org/forgejo/forgejo/pulls/7581

Followup to _many PRs_ where the old switches were converted to this one.

The main change here is to the switch with counter. It was missing a gap.

Additionally, it removes tailwind helpers the other switches retained from before switch refactors, because they are now using gap.

Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7589
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
forgejo-backport-action 2025-04-21 09:42:23 +00:00 committed by Gusted
commit 9147665e2c
6 changed files with 14 additions and 13 deletions

View file

@ -11,6 +11,7 @@
.switch .item {
display: flex;
gap: 0.5rem;
align-items: center;
padding: .5em 1.125em;
color: var(--color-text);