Skip to content

Commit

Permalink
fix(menu): labeled right menu icon size
Browse files Browse the repository at this point in the history
icons inside "right menu" of a "labeled menu" were not properly displayed since #111
As a labeled menu can contain dropdowns with themselves can also contain a right menu, we have to be careful of nested selectors here. That's why i did not simply revert the original patch (and we would need to remove and test losts of !important settings which most probably breaks a lot of other use cases)
  • Loading branch information
lubber-de authored Jan 16, 2023
1 parent 43be9ab commit 9a0ff54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/collections/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@ Floated Menu / Item
}

/* Icon */
.ui.labeled.icon.menu > .right.menu > .item > i.icon:not(.dropdown),
.ui.labeled.icon.menu > .item > i.icon:not(.dropdown) {
height: 1em;
display: block;
Expand Down

0 comments on commit 9a0ff54

Please sign in to comment.