Skip to content

Commit c65aba7

Browse files
lubber-deSean
authored and
Sean
committed
fix(dropdown): dont adjustment dropdown icon when inside a label button
Since 2.7.7 the dropdown icon adjustments got increased specificity by #838 Unfortunately this also had impact if the dropdown was used in combination with a labeled button I had to revert the specificity increase, but the additional :not(labeled) fixes the previous issues as well (and keeping the additional .icon would have messed up general dropdowns in combination :not(.labeled) then. So this PR should fix all three issues now (tested by using the fiddles from the original issues and modding via developer console tools) Closes #1058 #837 #458
1 parent fdae269 commit c65aba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions/modules/dropdown.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
Dropdown Icon
8585
---------------*/
8686

87-
.ui.dropdown > .dropdown.icon.icon {
87+
.ui.dropdown:not(.labeled) > .dropdown.icon {
8888
position: relative;
8989
width: auto;
9090
font-size: @dropdownIconSize;

0 commit comments

Comments
 (0)