diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2020-10-22 11:46:25 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2020-10-27 01:23:25 +0300 |
commit | 313f762d039651f2c286fbf991a610b3e96bf40d (patch) | |
tree | 6a194d6b1409b39bddfa2ee678dfc1279edd7e6d /scss/forms | |
parent | 3e2c3298da1dba3385819b0a0e921077963e4ee2 (diff) |
Fix border radii on validation messages
Diffstat (limited to 'scss/forms')
-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 065f8c6117..9ae896cc44 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); } |