Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-06-24 05:03:39 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-06-24 05:08:13 +0400
commit7951a6d663ae8fb3646ef6a9de537ee18d282877 (patch)
tree33232660fe068f0a52c02f98244a8d9178438197 /assets/stylesheets/bootstrap/mixins/_image.scss
parent0cbe7255b5ef45ba79ab684b61bf2d2443876e84 (diff)
provide a concatenated js file by default
Diffstat (limited to 'assets/stylesheets/bootstrap/mixins/_image.scss')
-rw-r--r--assets/stylesheets/bootstrap/mixins/_image.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/stylesheets/bootstrap/mixins/_image.scss b/assets/stylesheets/bootstrap/mixins/_image.scss
index c8dcf5e..57d60a3 100644
--- a/assets/stylesheets/bootstrap/mixins/_image.scss
+++ b/assets/stylesheets/bootstrap/mixins/_image.scss
@@ -8,6 +8,7 @@
// Keep images from scaling beyond the width of their parents.
@mixin img-responsive($display: block) {
display: $display;
+ width: 100% \9; // Force IE10 and below to size SVG images correctly
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
}