add support for button dropdowns in justified button groups

This commit is contained in:
aentan 2013-11-19 17:24:49 +08:00
parent 2172e2ea8a
commit ba4c5dae9b
3 changed files with 13 additions and 3 deletions

View File

@ -1953,6 +1953,7 @@ output {
.form-control::-moz-placeholder {
color: #999999;
opacity: 1;
}
.form-control:-ms-input-placeholder {
@ -3865,12 +3866,17 @@ input[type="button"].btn-block {
table-layout: fixed;
}
.btn-group-justified .btn {
.btn-group-justified > .btn,
.btn-group-justified > .btn-group {
display: table-cell;
float: none;
width: 1%;
}
.btn-group-justified > .btn-group .btn {
width: 100%;
}
[data-toggle="buttons"] > .btn > input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
display: none;

File diff suppressed because one or more lines are too long

View File

@ -238,11 +238,15 @@
width: 100%;
table-layout: fixed;
border-collapse: separate;
.btn {
> .btn,
> .btn-group {
float: none;
display: table-cell;
width: 1%;
}
> .btn-group .btn {
width: 100%;
}
}