width: 1%;
margin-bottom: 0;
- // Bring the "active" form control to the top of surrounding elements
- &:focus {
- z-index: 3;
- }
-
+ .form-control,
+ .custom-select,
+ .custom-file {
}
}
+ // Bring the "active" form control to the top of surrounding elements
+ > .form-control:focus,
+ > .custom-select:focus,
+ > .custom-file .custom-file-input:focus ~ .custom-file-label {
+ z-index: 3;
+ }
+
> .form-control,
> .custom-select {
&:not(:last-child) { @include border-right-radius(0); }