]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix border radii on validation messages
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Thu, 22 Oct 2020 08:46:25 +0000 (10:46 +0200)
committerMark Otto <otto@github.com>
Mon, 26 Oct 2020 22:23:25 +0000 (15:23 -0700)
scss/forms/_input-group.scss

index 065f8c611777fa7956ecb7639120df39da39bb5a..9ae896cc4455e67c86be0467e1ee5cd0e173f62d 100644 (file)
     }
   }
 
-  > :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);
   }