aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2018-07-18 17:37:32 +0200
committerMark Otto <[email protected]>2018-07-20 18:31:47 -0500
commit6f52b2eafa82850faca784f925eeddacf5303d03 (patch)
tree2418b26ba2cbc06dac7076267f1c2ef805c9b555
parentc45e5594b77015f48b8c21823a44d6bb8139d40a (diff)
downloadbootstrap-6f52b2eafa82850faca784f925eeddacf5303d03.tar.xz
bootstrap-6f52b2eafa82850faca784f925eeddacf5303d03.zip
#26912: fix custom file input z-index
-rw-r--r--scss/_input-group.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index c210242a1..2ed5f3304 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -35,6 +35,11 @@
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); }