From: Mark Otto Date: Mon, 20 Aug 2012 19:20:22 +0000 (-0700) Subject: fix vertical button-groups in ie7 X-Git-Tag: v2.1.0~2^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58dd1f20aeee82d29693f731844a00cb9c5e4328;p=thirdparty%2Fbootstrap.git fix vertical button-groups in ie7 --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 364509ecae..20a43ccbdc 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 3197cb394d..01baebd541 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;