diff options
author | Mark Otto <markotto@twitter.com> | 2012-09-03 12:13:42 +0400 |
---|---|---|
committer | Mark Otto <markotto@twitter.com> | 2012-09-03 12:13:42 +0400 |
commit | 8cda830eaf568be8204a96ca635c0bed373028ff (patch) | |
tree | 9600850c6cc5b4ee8ffcdf0ad2b7935b6736be25 | |
parent | f25129361be813af4c399da8e3041a43ccd2a943 (diff) |
fixes #4146: IE7-8 responsive image helper
-rw-r--r-- | docs/assets/css/bootstrap.css | 1 | ||||
-rw-r--r-- | less/reset.less | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index ccafb83bb4..32cc021ea9 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -67,6 +67,7 @@ sub { } img { + width: auto\9; height: auto; max-width: 100%; vertical-align: middle; diff --git a/less/reset.less b/less/reset.less index fc27e9c878..3261124e0f 100644 --- a/less/reset.less +++ b/less/reset.less @@ -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; |