]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix border radius for inputs groups with validation
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Thu, 22 Oct 2020 18:29:23 +0000 (20:29 +0200)
committerMark Otto <otto@github.com>
Mon, 26 Oct 2020 22:23:25 +0000 (15:23 -0700)
scss/forms/_input-group.scss

index 9ae896cc4455e67c86be0467e1ee5cd0e173f62d..5611f85c5be921ea4c9767b13151d2b8ccfb90b2 100644 (file)
     }
   }
 
+  &.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)";