]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Added support for .show-on-small in Gmail
authorBrett DeWoody <brett@digitalwaxworks.com>
Thu, 22 May 2014 17:20:27 +0000 (13:20 -0400)
committerBrett DeWoody <brett@digitalwaxworks.com>
Thu, 22 May 2014 17:20:27 +0000 (13:20 -0400)
Updated .show-for-small and .hide-for-desktop to support Gmail

css/ink.css

index 9f40ef945b2c3cc5daf24e47280f73e6f06f7378..4a914bb9c4d9eb04e984dcd73d0ac5afdd1891f6 100644 (file)
@@ -315,6 +315,8 @@ img.center {
 .show-for-small,
 .hide-for-desktop {
   display: none;
+  width:0; 
+  overflow:hidden;
 }
 
 /* Typography */
@@ -689,6 +691,8 @@ body.outlook p {
 
   table[class="body"] .show-for-small,
   table[class="body"] .hide-for-desktop {
-    display: inherit !important;
+    display : block !important;
+    width : auto !important;
+    overflow : visible !important;
   }
 }