Fix border radii on validation messages

This commit is contained in:
Martijn Cuppens 2020-10-22 10:46:25 +02:00 committed by Mark Otto
parent 3e2c3298da
commit 313f762d03
1 changed files with 6 additions and 1 deletions

View File

@ -135,7 +135,12 @@
} }
} }
> :not(:first-child):not(.dropdown-menu) { $validation-messages: "";
@each $state in map-keys($form-validation-states) {
$validation-messages: $validation-messages + ":not(." + unquote($state) + "-tooltip)" + ":not(." + unquote($state) + "-feedback)";
}
> :not(:first-child):not(.dropdown-menu)#{$validation-messages} {
margin-left: -$input-border-width; margin-left: -$input-border-width;
@include border-left-radius(0); @include border-left-radius(0);
} }