Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
8cda830e
Commit
8cda830e
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes #4146: IE7-8 responsive image helper
parent
f2512936
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+1
-0
docs/assets/css/bootstrap.css
less/reset.less
+1
-0
less/reset.less
with
2 additions
and
0 deletions
+2
-0
docs/assets/css/bootstrap.css
+
1
-
0
View file @
8cda830e
...
@@ -67,6 +67,7 @@ sub {
...
@@ -67,6 +67,7 @@ sub {
}
}
img
{
img
{
width
:
auto
\
9
;
height
:
auto
;
height
:
auto
;
max-width
:
100%
;
max-width
:
100%
;
vertical-align
:
middle
;
vertical-align
:
middle
;
...
...
This diff is collapsed.
Click to expand it.
less/reset.less
+
1
-
0
View file @
8cda830e
...
@@ -78,6 +78,7 @@ sub {
...
@@ -78,6 +78,7 @@ sub {
img {
img {
max-width: 100%; // Make images inherently responsive
max-width: 100%; // Make images inherently responsive
width: auto\9; /* IE7-8 need help adjusting responsive images */
height: auto; // Make images inherently responsive
height: auto; // Make images inherently responsive
vertical-align: middle;
vertical-align: middle;
border: 0;
border: 0;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets