Skip to content

Commit

Permalink
fix(input): icon inputs have wrong padding when inside menus
Browse files Browse the repository at this point in the history
When icon inputs where used inside of menus their padding was not correct anymore because of too low specificity
  • Loading branch information
lubber-de authored and Sean committed Oct 18, 2019
1 parent c0f446c commit fdae269
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/definitions/elements/input.less
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@
:not(.field) > .ui.transparent.icon.input > i.icon {
width: @transparentIconWidth;
}
:not(.field) > .ui.transparent.icon.input > input {
:not(.field) > .ui.ui.ui.transparent.icon.input > input {
padding-left: 0;
padding-right: @transparentIconMargin;
}
:not(.field) > .ui.transparent[class*="left icon"].input > input {
:not(.field) > .ui.ui.ui.transparent[class*="left icon"].input > input {
padding-left: @transparentIconMargin;
padding-right: 0;
}
Expand Down Expand Up @@ -274,8 +274,8 @@
.ui.icon.input > i.icon:not(.link) {
pointer-events: none;
}
.ui.ui.icon.input > textarea,
.ui.ui.icon.input > input {
.ui.ui.ui.ui.icon.input > textarea,
.ui.ui.ui.ui.icon.input > input {
padding-right: @iconMargin;
}

Expand Down Expand Up @@ -306,8 +306,8 @@
right: auto;
left: @circularIconHorizontalOffset;
}
.ui.ui[class*="left icon"].input > textarea,
.ui.ui[class*="left icon"].input > input {
.ui.ui.ui.ui[class*="left icon"].input > textarea,
.ui.ui.ui.ui[class*="left icon"].input > input {
padding-left: @iconMargin;
padding-right: @horizontalPadding;
}
Expand Down

0 comments on commit fdae269

Please sign in to comment.