mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-09 01:53:53 +02:00
Fix buttons that come after the input (input should be under the button)
This commit is contained in:
parent
bf01f27554
commit
864c657488
@ -171,6 +171,12 @@
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
// remove nagative margin ($input-btn-border-width) to solve overlapping issue with button.
|
// remove nagative margin ($input-btn-border-width) to solve overlapping issue with button.
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
||||||
|
// When input is first, overlap the right side of it with the button(-group)
|
||||||
|
&:first-child {
|
||||||
|
margin-left: (-$input-btn-border-width);
|
||||||
|
}
|
||||||
|
|
||||||
// Because specificity
|
// Because specificity
|
||||||
@include hover-focus-active {
|
@include hover-focus-active {
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user