]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix(forms): color input with validation icon
authorGaël Poupard <gael+github@ffoodd.fr>
Wed, 20 Oct 2021 10:18:46 +0000 (12:18 +0200)
committerMark Otto <otto@github.com>
Tue, 1 Mar 2022 03:34:34 +0000 (19:34 -0800)
scss/mixins/_forms.scss

index dc5bdb0b92561d8b304dd8fafe5bcb5818c0c275..81cd2e3ac4e372ed4de15fb7913d892c9e1a4d19 100644 (file)
     }
   }
 
+  .form-control-color {
+    @include form-validation-state-selector($state) {
+      @if $enable-validation-icons {
+        width: add($form-color-width, $input-height-inner);
+      }
+    }
+  }
+
   .form-check-input {
     @include form-validation-state-selector($state) {
       border-color: $color;