diff options
| author | Martijn Cuppens <[email protected]> | 2020-10-22 10:46:25 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2020-10-26 15:23:25 -0700 |
| commit | 313f762d039651f2c286fbf991a610b3e96bf40d (patch) | |
| tree | 6a194d6b1409b39bddfa2ee678dfc1279edd7e6d | |
| parent | 3e2c3298da1dba3385819b0a0e921077963e4ee2 (diff) | |
| download | bootstrap-313f762d039651f2c286fbf991a610b3e96bf40d.tar.xz bootstrap-313f762d039651f2c286fbf991a610b3e96bf40d.zip | |
Fix border radii on validation messages
| -rw-r--r-- | scss/forms/_input-group.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss index 065f8c611..9ae896cc4 100644 --- a/scss/forms/_input-group.scss +++ b/scss/forms/_input-group.scss @@ -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; @include border-left-radius(0); } |
