Skip to content

Commit

Permalink
fix(input): error border didn't change input action border
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored and Sean committed May 8, 2019
1 parent ddb7695 commit 0aab16f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/definitions/elements/input.less
Original file line number Diff line number Diff line change
Expand Up @@ -407,19 +407,26 @@
}

/* Labeled and action input error */
.ui.form > .field.error > .ui.action.input > .ui.button,
.ui.form > .field.error > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label,
.ui.action.input.error > .ui.button,
.ui.labeled.input.error:not([class*="corner labeled"]) > .ui.label {
border-top: @borderWidth solid @errorBorder;
border-bottom: @borderWidth solid @errorBorder;
}
.ui.form > .field.error > .ui.left.action.input > .ui.button,
.ui.form > .field.error > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label,
.ui.left.action.input.error > .ui.button,
.ui.labeled.input.error:not(.right):not([class*="corner labeled"]) > .ui.label {
border-left: @borderWidth solid @errorBorder;
}
.ui.form > .field.error > .ui.action.input:not(.left) > input + .ui.button,
.ui.form > .field.error > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label,
.ui.action.input.error:not(.left) > input + .ui.button,
.ui.right.labeled.input.error:not([class*="corner labeled"]) > input + .ui.label {
border-right: @borderWidth solid @errorBorder;
}
.ui.form > .field.error > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child,
.ui.right.labeled.input.error:not([class*="corner labeled"]) > .ui.label:first-child {
border-left: @borderWidth solid @errorBorder;
}
Expand Down

0 comments on commit 0aab16f

Please sign in to comment.