Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2020-10-22 21:29:23 +0300
committerMark Otto <otto@github.com>2020-10-27 01:23:25 +0300
commit568c1d19d32400c69e0e134502e45356e7983a31 (patch)
tree0f254fc64670b15dc40bf6108e23e7b03c051d43 /scss/forms
parent313f762d039651f2c286fbf991a610b3e96bf40d (diff)
Fix border radius for inputs groups with validation
Diffstat (limited to 'scss/forms')
-rw-r--r--scss/forms/_input-group.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss
index 9ae896cc44..5611f85c5b 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)";