]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix vertical button-groups in ie7
authorMark Otto <markotto@twitter.com>
Mon, 20 Aug 2012 19:20:22 +0000 (12:20 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 20 Aug 2012 19:20:22 +0000 (12:20 -0700)
docs/assets/css/bootstrap.css
less/button-groups.less

index 364509ecaecbb415d4dccf45c2418426356d1a1a..20a43ccbdc3a949127ec04428cccadbf58bb0cbe 100644 (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 {
index 3197cb394d7293804a6e5faa5ac1084c3da8b904..01baebd541f7b4670fe35868dfb41f8165daad69 100644 (file)
 
 .btn-group-vertical {
   display: inline-block; // makes buttons only take up the width they need
+  .ie7-inline-block();
 }
 .btn-group-vertical .btn {
   display: block;