From f16b66898091b3f375cbd3e2796fd87d9c5ca10b Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Tue, 25 Apr 2023 19:34:37 +0800 Subject: [PATCH] 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 --- web_src/css/base.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web_src/css/base.css b/web_src/css/base.css index 39aa37a43..bd1d32e2a 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 */ +} .ui.selection.dropdown .menu > .item { border-color: var(--color-secondary);