fix vertical button-groups in ie7

This commit is contained in:
Mark Otto 2012-08-20 12:20:22 -07:00
parent 6cf3752b9b
commit 58dd1f20ae
2 changed files with 5 additions and 0 deletions

View File

@ -3516,6 +3516,10 @@ input[type="submit"].btn.btn-mini {
.btn-group-vertical {
display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
}
.btn-group-vertical .btn {

View File

@ -214,6 +214,7 @@
.btn-group-vertical {
display: inline-block; // makes buttons only take up the width they need
.ie7-inline-block();
}
.btn-group-vertical .btn {
display: block;