fix(ui): use gap in switch items (#7581)
Followup to 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. Preview: https://codeberg.org/attachments/6191f55e-0b61-49fa-ba8f-cd9c93ca7bd4 https://codeberg.org/attachments/a03fb681-45b7-40f5-929e-55154abeb20d No visual change to the ones with icons. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7581 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
parent
acf6c13fd9
commit
507280b073
6 changed files with 14 additions and 13 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
.switch .item {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
padding: .5em 1.125em;
|
||||
color: var(--color-text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue