aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorKyle D <kdumontnu@gmail.com>2021-02-14 11:49:22 -0500
committerGitHub <noreply@github.com>2021-02-14 17:49:22 +0100
commitd475d53c4194ec68a071faf90e33702ead1b3069 (patch)
treec573feed57545a53a303dde710e17d3335afe0c1 /web_src/less
parent5e5b063c6f8f401541aa90097f5316f75cddb058 (diff)
downloadgitea-d475d53c4194ec68a071faf90e33702ead1b3069.tar.gz
gitea-d475d53c4194ec68a071faf90e33702ead1b3069.zip
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)
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_base.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 2b27e41e61..f5c322ba43 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -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);
}