summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnAlbin2014-11-10 19:33:47 +0800
committerJohnAlbin2014-11-10 19:33:47 +0800
commit44eb1b450ffb30335cdbf789cd712c43ac84b4e4 (patch)
tree13207398946e00c27b6a9bef846044551a06149f
parent3f75b4353ea4e5fb2a98088783f10f6c881d170c (diff)
Fix bug that prevented responsive image CSS if IE10 support was dropped.7.x-6.0-alpha1
-rw-r--r--STARTERKIT/sass/base/_normalize.scss35
1 files changed, 16 insertions, 19 deletions
diff --git a/STARTERKIT/sass/base/_normalize.scss b/STARTERKIT/sass/base/_normalize.scss
index 978f695..6c1dda1 100644
--- a/STARTERKIT/sass/base/_normalize.scss
+++ b/STARTERKIT/sass/base/_normalize.scss
@@ -369,28 +369,25 @@ sub {
/* Embedded content
========================================================================== */
-@if support-legacy-browser(ie, "10") {
- /**
- * Remove border when inside `a` element in IE 8/9/10.
- */
-
- img {
+img {
+ @if support-legacy-browser(ie, "10") {
+ /* Remove border when inside `a` element in IE 8/9/10. */
border: 0;
- @if support-legacy-browser(ie, "7") {
- /* Improve image quality when scaled in IE 7. */
- -ms-interpolation-mode: bicubic;
- }
+ }
+ @if support-legacy-browser(ie, "7") {
+ /* Improve image quality when scaled in IE 7. */
+ -ms-interpolation-mode: bicubic;
+ }
- /* Suppress the space beneath the baseline */
- /* vertical-align: bottom; */
+ /* Suppress the space beneath the baseline */
+ /* vertical-align: bottom; */
- /* Responsive images */
- max-width: 100%;
- height: auto;
- @if support-legacy-browser(ie, "8") {
- /* Correct IE 8 not scaling image height when resized. */
- width: auto;
- }
+ /* Responsive images */
+ max-width: 100%;
+ height: auto;
+ @if support-legacy-browser(ie, "8") {
+ /* Correct IE 8 not scaling image height when resized. */
+ width: auto;
}
}