app/assets/stylesheets/workarea/admin/email/_helpers.scss in workarea-admin-3.4.45 vs app/assets/stylesheets/workarea/admin/email/_helpers.scss in workarea-admin-3.5.0.beta.1
- old
+ new
@@ -9,10 +9,26 @@
.align-center { text-align: center; }
.align-right { text-align: right; }
/**
+ * Display helpers
+ */
+.hidden {
+ display: none;
+ font-size: 1px;
+ line-height: 1px;
+ max-height: 0px;
+ max-width: 0px;
+ opacity: 0;
+ overflow: hidden;
+ mso-hide: all;
+ font-family: sans-serif;
+}
+
+
+/**
* Responsive helpers
*
* Due to the way Premailer parses external CSS into inline CSS, we must be very
* forceful with our helpers. Because of this we must take a "mobile-last"
* approach, or else we'll get into an !important war.
@@ -58,12 +74,7 @@
float: none !important;
}
table.center-on-narrow {
display: inline-block !important;
- }
-
- /* Adjust typography on small screens to improve readability */
- .email-container p {
- font-size: $font-size + 2px !important;
}
}