Fix Button groups with button labels

This commit is contained in:
Andrew Cherytsya
2017-02-26 12:33:42 +02:00
parent 9ab27cddf2
commit 36cfc19cc5
2 changed files with 17 additions and 7 deletions

View File

@@ -36,7 +36,12 @@
.btn-xs .btn-label {
.button-label-size(1px; 5px; @border-radius-small);
}
.btn-group > .btn:last-child:not(:first-child) .btn-label, .btn-group > .dropdown-toggle:not(:first-child) .btn-label {
border-bottom-left-radius: 0px;
border-top-left-radius: 0px;
}
//Fix bootstrap grouped buttons
.btn-group {
.btn-labeled:not(:first-child) .btn-label:not(.btn-label-right) {
.border-left-radius(0px);
}
.btn-labeled:not(:last-child) .btn-label.btn-label-right {
.border-right-radius(0px);
}
}