]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#26912: fix custom file input z-index
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Wed, 18 Jul 2018 15:37:32 +0000 (17:37 +0200)
committerMark Otto <otto@github.com>
Fri, 20 Jul 2018 23:31:47 +0000 (18:31 -0500)
scss/_input-group.scss

index c210242a1157eab83365a06a58c59ba471030e46..2ed5f330402a600099bce3956564f61f8a77530d 100644 (file)
     z-index: 3;
   }
 
+  // Bring the custom file input above the label
+  > .custom-file .custom-file-input:focus {
+    z-index: 4;
+  }
+
   > .form-control,
   > .custom-select {
     &:not(:last-child) { @include border-right-radius(0); }