mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 21:22:52 +02:00
Fix z-index target (#26361)
This commit is contained in:
@@ -21,11 +21,6 @@
|
|||||||
width: 1%;
|
width: 1%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
// Bring the "active" form control to the top of surrounding elements
|
|
||||||
&:focus {
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ .form-control,
|
+ .form-control,
|
||||||
+ .custom-select,
|
+ .custom-select,
|
||||||
+ .custom-file {
|
+ .custom-file {
|
||||||
@@ -33,6 +28,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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,
|
> .form-control,
|
||||||
> .custom-select {
|
> .custom-select {
|
||||||
&:not(:last-child) { @include border-right-radius(0); }
|
&:not(:last-child) { @include border-right-radius(0); }
|
||||||
|
Reference in New Issue
Block a user