summaryrefslogtreecommitdiffstats
path: root/web_src/css/base.css
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-04-25 19:34:37 +0800
committerGitHub <noreply@github.com>2023-04-25 07:34:37 -0400
commitf16b66898091b3f375cbd3e2796fd87d9c5ca10b (patch)
treee877435b8bc5a0c8421b08391280afc1037e81bd /web_src/css/base.css
parentab42c139a246be8905bae2e87a41aef9ecbe06f7 (diff)
downloadgitea-f16b66898091b3f375cbd3e2796fd87d9c5ca10b.tar.gz
gitea-f16b66898091b3f375cbd3e2796fd87d9c5ca10b.zip
Make SVG in dropdown menu have the same margin-right as IMG (#24316)
Fix #24226 ![image](https://user-images.githubusercontent.com/2114189/234167393-0fe36a0d-29c9-46b6-b71d-52436f2b27f3.png) Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src/css/base.css')
-rw-r--r--web_src/css/base.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 39aa37a437..bd1d32e2af 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -864,6 +864,9 @@ a.label,
margin-top: -0.25rem;
margin-bottom: -0.25rem;
}
+.ui.dropdown .menu > .item > svg {
+ margin-right: .78rem; /* use the same margin as for <img> */
+}
.ui.selection.dropdown .menu > .item {
border-color: var(--color-secondary);