/// @group visibility
////
-table.body .hide-for-large {
- display: none !important;
+table.body table.container .hide-for-large {
+ display: none;
width:0;
- mso-hide:all;
+ mso-hide:all; // hide selected elements in Outlook 2007-2013
overflow:hidden;
+ max-height: 0px;
+ font-size: 0;
+ width: 0px;
+ line-height: 0;
@media only screen and (max-width: #{$global-breakpoint}) {
- display: inherit !important;
+ display: block !important;
+ width: auto !important;
+ overflow: visible !important;
}
}
-table.body .row.hide-for-large,
-table.body .row.hide-for-large {
+table.body table.container .hide-for-large * {
+ mso-hide:all; // hide selected elements in Outlook 2007-2013
+}
+
+table.body table.container .row.hide-for-large,
+table.body table.container .row.hide-for-large {
@media only screen and (max-width: #{$global-breakpoint}) {
display: table !important;
- width: 100%;
+ width: 100% !important;
}
}
-table.body .show-for-large {
+table.body table.container .show-for-large {
@media only screen and (max-width: #{$global-breakpoint}) {
display: none !important;
width:0;
- mso-hide:all;
+ mso-hide:all; // hide selected elements in Outlook 2007-2013
overflow:hidden;
}
}
-
+// [todo] add image resets
+// img {
+// max-height: 0;
+// width: 0;
+// }
+// in media query
+// img {
+// max-height: none !important;
+// width: auto !important;
+// }