Skip to content

Commit f16b668

Browse files
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 <[email protected]>
1 parent ab42c13 commit f16b668

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web_src/css/base.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,9 @@ a.label,
864864
margin-top: -0.25rem;
865865
margin-bottom: -0.25rem;
866866
}
867+
.ui.dropdown .menu > .item > svg {
868+
margin-right: .78rem; /* use the same margin as for <img> */
869+
}
867870

868871
.ui.selection.dropdown .menu > .item {
869872
border-color: var(--color-secondary);

0 commit comments

Comments
 (0)