Commit aad447e2 authored by Zlatan Vasović's avatar Zlatan Vasović

Fix #11400 and #11431

parent 463343af
...@@ -4031,10 +4031,18 @@ textarea.input-group-sm > .input-group-btn > .btn { ...@@ -4031,10 +4031,18 @@ textarea.input-group-sm > .input-group-btn > .btn {
position: relative; position: relative;
} }
.input-group-btn > .btn:not(:first-of-type):not(:last-of-type) {
border-radius: 0;
}
.input-group-btn > .btn + .btn { .input-group-btn > .btn + .btn {
margin-left: -4px; margin-left: -4px;
} }
.input-group-btn > .btn + .btn:last-of-type {
margin-left: -5px;
}
.input-group-btn > .btn:hover, .input-group-btn > .btn:hover,
.input-group-btn > .btn:active { .input-group-btn > .btn:active {
z-index: 2; z-index: 2;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -121,16 +121,26 @@ ...@@ -121,16 +121,26 @@
&:last-child > .btn { &:last-child > .btn {
margin-left: -1px; margin-left: -1px;
} }
}
.input-group-btn > .btn { > .btn {
position: relative; position: relative;
&:not(:first-of-type):not(:last-of-type) {
border-radius: 0;
}
// Jankily prevent input button groups from wrapping // Jankily prevent input button groups from wrapping
+ .btn { + .btn {
margin-left: -4px; margin-left: -4px;
} }
+ .btn:last-of-type {
margin-left: -5px;
}
// Bring the "active" button to the front // Bring the "active" button to the front
&:hover, &:hover,
&:active { &:active {
z-index: 2; z-index: 2;
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment