mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-05 05:40:59 +00:00
Fix buttons that come after the input (input should be under the button)
This commit is contained in:
parent
bf01f27554
commit
864c657488
1 changed files with 6 additions and 0 deletions
|
|
@ -171,6 +171,12 @@
|
|||
z-index: 2;
|
||||
// remove nagative margin ($input-btn-border-width) to solve overlapping issue with button.
|
||||
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
|
||||
@include hover-focus-active {
|
||||
z-index: 3;
|
||||
|
|
|
|||
Loading…
Reference in a new issue