Skip to content

Commit

Permalink
Make SVG in dropdown menu have the same margin-right as IMG (#24316)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang and silverwind authored Apr 25, 2023
1 parent ab42c13 commit f16b668
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f16b668

Please sign in to comment.