diff options
| author | Martijn Cuppens <[email protected]> | 2020-10-22 20:29:23 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2020-10-26 15:23:25 -0700 |
| commit | 568c1d19d32400c69e0e134502e45356e7983a31 (patch) | |
| tree | 0f254fc64670b15dc40bf6108e23e7b03c051d43 /scss/forms/_input-group.scss | |
| parent | 313f762d039651f2c286fbf991a610b3e96bf40d (diff) | |
| download | bootstrap-568c1d19d32400c69e0e134502e45356e7983a31.tar.xz bootstrap-568c1d19d32400c69e0e134502e45356e7983a31.zip | |
Fix border radius for inputs groups with validation
Diffstat (limited to 'scss/forms/_input-group.scss')
| -rw-r--r-- | scss/forms/_input-group.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss index 9ae896cc4..5611f85c5 100644 --- a/scss/forms/_input-group.scss +++ b/scss/forms/_input-group.scss @@ -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)"; |
