Skip to content

Commit 854fcb1

Browse files
wxiaoguanglunny
andauthored
Fix dropdown icon misalignment when using fomantic icon (#23558) (#23577)
Backport #23558 There are still many dropdowns using fomantic icon. For example: new issue with issue template. Avoid polluting the fomantic styles. Co-authored-by: Lunny Xiao <[email protected]>
1 parent 4730ed1 commit 854fcb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web_src/css/base.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -2544,10 +2544,10 @@ table th[data-sortt-desc] .svg {
25442544
height: auto; /* reset the ".ui.dropdown > .dropdown.icon {height}", otherwise the icon would be too small */
25452545
}
25462546

2547-
.ui.selection.dropdown > .search.icon,
2548-
.ui.selection.dropdown > .delete.icon,
2549-
.ui.selection.dropdown > .dropdown.icon {
2550-
top: 0 !important;
2547+
.ui.selection.dropdown > .svg.search.icon,
2548+
.ui.selection.dropdown > .svg.delete.icon,
2549+
.ui.selection.dropdown > .svg.dropdown.icon {
2550+
top: 0 !important; /* reset the ".ui.selection.dropdown > .xxx.icon {top}" if the icon is svg instead of the fomantic icon */
25512551
}
25522552

25532553
.ui.dropdown.no-text > .dropdown.icon {

0 commit comments

Comments
 (0)