diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-25 19:34:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 07:34:37 -0400 |
commit | f16b66898091b3f375cbd3e2796fd87d9c5ca10b (patch) | |
tree | e877435b8bc5a0c8421b08391280afc1037e81bd /web_src/css/base.css | |
parent | ab42c139a246be8905bae2e87a41aef9ecbe06f7 (diff) | |
download | gitea-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.css | 3 |
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); |