1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix svg spacing (#14638)

* Add right margin to icons in menu items

* Reduce padding on user profile submenu to fit in one line by default (english)
This commit is contained in:
Kyle D
2021-02-14 11:49:22 -05:00
committed by GitHub
parent 5e5b063c6f
commit d475d53c41
2 changed files with 10 additions and 1 deletions

View File

@@ -277,6 +277,10 @@ a.muted:hover,
.ui.menu .item {
color: var(--color-text);
.svg {
margin-right: .35em;
}
}
.ui.menu .item > .label {
@@ -381,6 +385,11 @@ a.muted:hover,
background: var(--color-active);
}
.ui.secondary.menu.tight .item {
padding-left: .85714286em;
padding-right: .85714286em;
}
.ui.menu .dropdown.item .menu {
background: var(--color-menu);
}