Fine tune "dropdown button" icon (#25442)

![image](143e043d-85c9-43a4-85ae-ca55f507f738)

----

![image](bcba03a5-732e-4139-bc35-96a7f8bfcb88)
This commit is contained in:
wxiaoguang 2023-06-25 10:40:41 +08:00 committed by GitHub
parent b8253607fe
commit 323c6cba20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 17 deletions

View file

@ -2192,6 +2192,17 @@ table th[data-sortt-desc] .svg {
- "> .ui.label > .delete.icon": the "x" icon for removing a label item in multiple selection dropdown
*/
.ui.dropdown.mini.button,
.ui.dropdown.tiny.button {
padding-right: 20px;
}
.ui.dropdown.button {
padding-right: 22px;
}
.ui.dropdown.large.button {
padding-right: 24px;
}
/* Gitea uses SVG images instead of Fomantic builtin "<i>" font icons, so we need to reset the icon styles */
.ui.ui.dropdown > .icon.icon {
position: initial; /* plain dropdown and button dropdown use flex layout for icons */