@rudyzeinoun/email-builder 0.0.43 → 0.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -323,13 +323,14 @@ function renderToStaticMarkup(document, { rootBlockId }) {
323
323
  }
324
324
  .no-underline a { text-decoration: none }
325
325
 
326
- @media only screen and (max-width: 600px) {
326
+ @media only screen and (max-width: 450px) {
327
327
  .stack {
328
328
  display: block !important;
329
329
  width: 100% !important;
330
330
  max-width: 100% !important;
331
- direction: ltr !important;
332
331
  }
332
+ .stack.stack-header { display: table-header-group !important; }
333
+ .stack.stack-footer { display: table-footer-group !important; }
333
334
  /* optional, helps images fit when stacked */
334
335
  .stack img {
335
336
  width: 100% !important;
package/dist/index.mjs CHANGED
@@ -290,13 +290,14 @@ function renderToStaticMarkup(document, { rootBlockId }) {
290
290
  }
291
291
  .no-underline a { text-decoration: none }
292
292
 
293
- @media only screen and (max-width: 600px) {
293
+ @media only screen and (max-width: 450px) {
294
294
  .stack {
295
295
  display: block !important;
296
296
  width: 100% !important;
297
297
  max-width: 100% !important;
298
- direction: ltr !important;
299
298
  }
299
+ .stack.stack-header { display: table-header-group !important; }
300
+ .stack.stack-footer { display: table-footer-group !important; }
300
301
  /* optional, helps images fit when stacked */
301
302
  .stack img {
302
303
  width: 100% !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudyzeinoun/email-builder",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "React component to render email messages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -30,7 +30,7 @@
30
30
  "@rudyzeinoun/block-container": "^0.0.13",
31
31
  "@usewaypoint/block-avatar": "^0.0.3",
32
32
  "@rudyzeinoun/block-button": "^0.0.5",
33
- "@rudyzeinoun/block-columns-container": "^0.0.10",
33
+ "@rudyzeinoun/block-columns-container": "^0.0.16",
34
34
  "@usewaypoint/block-divider": "^0.0.4",
35
35
  "@rudyzeinoun/block-heading": "^0.0.6",
36
36
  "@rudyzeinoun/block-html": "^0.0.5",