mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Holy fucking shit fix that input group with buttons rounded corner noise
This commit is contained in:
+12
-1
@@ -16,7 +16,17 @@
|
||||
display: inline-block;
|
||||
vertical-align: middle; // match .btn alignment given font-size hack above
|
||||
> .btn {
|
||||
position: relative;
|
||||
float: left;
|
||||
// Prevent double borders when buttons are next to each other
|
||||
+ btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
// Bring the "active" button to the front
|
||||
&:hover,
|
||||
&:active {
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,13 +126,14 @@
|
||||
.btn-group-vertical > .btn {
|
||||
display: block;
|
||||
float: none;
|
||||
border-radius: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
.btn-group-vertical .btn:first-child {
|
||||
border-radius: 0; // Needs to be here for specificity since we're not zeroing them out again
|
||||
.border-top-radius(@border-radius-base);
|
||||
}
|
||||
.btn-group-vertical .btn:last-child {
|
||||
border-radius: 0; // Needs to be here for specificity since we're not zeroing them out again
|
||||
.border-bottom-radius(@border-radius-base);
|
||||
}
|
||||
.btn-group-vertical .btn-large:first-child {
|
||||
|
||||
Reference in New Issue
Block a user