Browse Source

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>
tags/v1.20.0-rc0
wxiaoguang 1 year ago
parent
commit
f16b668980
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      web_src/css/base.css

+ 3
- 0
web_src/css/base.css View File

@@ -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);

Loading…
Cancel
Save