]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4146: IE7-8 responsive image helper
authorMark Otto <markotto@twitter.com>
Mon, 3 Sep 2012 08:13:42 +0000 (01:13 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 3 Sep 2012 08:13:42 +0000 (01:13 -0700)
docs/assets/css/bootstrap.css
less/reset.less

index ccafb83bb43dd33d4234b2c5dd249156acc77d97..32cc021ea9992d688063000f0323d2bfa5e3d3e8 100644 (file)
@@ -67,6 +67,7 @@ sub {
 }
 
 img {
+  width: auto\9;
   height: auto;
   max-width: 100%;
   vertical-align: middle;
index fc27e9c878dd54fd99ca75e710a6cd50a9ea558d..3261124e0f8b98c5e992a193c988a2863bcd8800 100644 (file)
@@ -78,6 +78,7 @@ sub {
 
 img {
   max-width: 100%; // Make images inherently responsive
+  width: auto\9; /* IE7-8 need help adjusting responsive images */
   height: auto; // Make images inherently responsive
   vertical-align: middle;
   border: 0;