0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:54:40 +01: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:
wxiaoguang 2023-04-25 19:34:37 +08:00 committed by GitHub
parent ab42c139a2
commit f16b668980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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