]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Don't scale images up on smaller screens 114/head
authorCalvin Correli <calvin@correli.me>
Fri, 7 Nov 2014 19:50:45 +0000 (14:50 -0500)
committerCalvin Correli <calvin@correli.me>
Fri, 7 Nov 2014 19:50:45 +0000 (14:50 -0500)
 - only scale them down, as necessary

css/ink.css

index 92b14dc89731aca5f1fc02ff2dc392ea63575bc0..50ef21fbfe871c1c7724867913f0bf7d1eede3e6 100644 (file)
@@ -587,8 +587,8 @@ body.outlook p {
 @media only screen and (max-width: 600px) {
 
   table[class="body"] img {
-    width: auto !important;
-    height: auto !important;
+    max-width: auto !important;
+    max-height: auto !important;
   }
 
   table[class="body"] center {