mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
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>
This commit is contained in:
parent
ab42c139a2
commit
f16b668980
@ -864,6 +864,9 @@ a.label,
|
|||||||
margin-top: -0.25rem;
|
margin-top: -0.25rem;
|
||||||
margin-bottom: -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 {
|
.ui.selection.dropdown .menu > .item {
|
||||||
border-color: var(--color-secondary);
|
border-color: var(--color-secondary);
|
||||||
|
Loading…
Reference in New Issue
Block a user