Skip to content

Commit 8cda830

Browse files
committed
fixes twbs#4146: IE7-8 responsive image helper
1 parent f251293 commit 8cda830

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/assets/css/bootstrap.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ sub {
6767
}
6868

6969
img {
70+
width: auto\9;
7071
height: auto;
7172
max-width: 100%;
7273
vertical-align: middle;

less/reset.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ sub {
7878

7979
img {
8080
max-width: 100%; // Make images inherently responsive
81+
width: auto\9; /* IE7-8 need help adjusting responsive images */
8182
height: auto; // Make images inherently responsive
8283
vertical-align: middle;
8384
border: 0;

0 commit comments

Comments
 (0)