Skip to content

Commit

Permalink
Fix border radius for inputs groups with validation
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens committed Oct 22, 2020
1 parent 91b4c2c commit 11497f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scss/forms/_input-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@
}
}

&.has-validation {
> :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu),
> .dropdown-toggle:nth-last-child(n + 4) {
@include border-right-radius(0);
}
}

$validation-messages: "";
@each $state in map-keys($form-validation-states) {
$validation-messages: $validation-messages + ":not(." + unquote($state) + "-tooltip)" + ":not(." + unquote($state) + "-feedback)";
Expand Down

0 comments on commit 11497f9

Please sign in to comment.