Skip to content
GitLab
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
e3d799fc
Commit
e3d799fc
authored
11 years ago
by
Zlatan Vasović
Browse files
Options
Download
Email Patches
Plain Diff
';' isn't needed
parent
9966d035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/mixins.less
+1
-1
less/mixins.less
with
1 addition
and
1 deletion
+1
-1
less/mixins.less
+
1
-
1
View file @
e3d799fc
...
...
@@ -353,7 +353,7 @@
//
// Keep images from scaling beyond the width of their parents.
.img-responsive(@display: block
;
) {
.img-responsive(@display: block) {
display: @display;
max-width: 100%; // Part 1: Set a maximum relative to the parent
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
...
...
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