]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
removes important for images on small
authorRafiBomb <rafi@zurb.com>
Mon, 16 May 2016 16:27:17 +0000 (09:27 -0700)
committerRafiBomb <rafi@zurb.com>
Mon, 16 May 2016 16:27:17 +0000 (09:27 -0700)
gulpfile.js
package.json
scss/components/_media-query.scss
test/visual/pages/images.html [new file with mode: 0644]

index 69044c52efe25dc5fdd74ce9fac1ccc3ba216596..a39b1e5e81b7074e20ab544e08fc8c0aedc2d15a 100644 (file)
@@ -23,7 +23,7 @@ supercollider
     pageRoot: 'docs/pages',
     data: {
       repoName: 'foundation-emails',
-      editBranch: 'v2.0'
+      editBranch: 'develop'
     }
   })
   .searchConfig({
index 723b1c22f7fad4a45b0d439b5c5039837c8b1bff..7947dfb09bae2fcc3559d0f0707acfe0af59b46e 100644 (file)
@@ -43,7 +43,7 @@
     "gulp-sourcemaps": "^1.6.0",
     "gulp-wrap": "^0.11.0",
     "gulp-zip": "^3.2.0",
-    "inky": "zurb/inky#fix-character-escaping",
+    "inky": "zurb/inky",
     "lazypipe": "^1.0.1",
     "motion-ui": "^1.1.1",
     "multiline": "^1.0.2",
@@ -63,3 +63,5 @@
     "needs": "^0.8.0"
   }
 }
+
+
index ff466f1e18dfc46a12fa96235c947ebceadb9b4f..4961929961f7b3938294425867b77a20abb25c3a 100755 (executable)
@@ -8,8 +8,8 @@
 
 @media only screen and (max-width: #{$global-breakpoint}) {
   table.body img {
-    width: auto !important;
-    height: auto !important;
+    width: auto;
+    height: auto;
   }
 
   table.body center {
diff --git a/test/visual/pages/images.html b/test/visual/pages/images.html
new file mode 100644 (file)
index 0000000..7221331
--- /dev/null
@@ -0,0 +1,19 @@
+<container>
+  <row>
+    <columns small="12" large="12">
+      <img style="width: 14px;" src="http://placehold.it/600" alt="">
+    </columns>
+  </row>
+
+  <row>
+    <columns small="12" large="12">
+      <img style="width: 480px;" src="http://placehold.it/600" alt="">
+    </columns>
+  </row>
+
+  <row>
+    <columns small="12" large="12">
+      <img src="http://placehold.it/600" alt="">
+    </columns>
+  </row>
+</container>
\ No newline at end of file