diff options
| author | Mark Otto <[email protected]> | 2012-08-20 12:20:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-20 12:20:22 -0700 |
| commit | 58dd1f20aeee82d29693f731844a00cb9c5e4328 (patch) | |
| tree | 55cd399b0ee67f39188dd7ce4e5c65a0cc12a644 | |
| parent | 6cf3752b9be2ad4f4804fc974d465e0f897a63df (diff) | |
| download | bootstrap-58dd1f20aeee82d29693f731844a00cb9c5e4328.tar.xz bootstrap-58dd1f20aeee82d29693f731844a00cb9c5e4328.zip | |
fix vertical button-groups in ie7
| -rw-r--r-- | docs/assets/css/bootstrap.css | 4 | ||||
| -rw-r--r-- | less/button-groups.less | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 364509eca..20a43ccbd 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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 { diff --git a/less/button-groups.less b/less/button-groups.less index 3197cb394..01baebd54 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -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; |
