@rudyzeinoun/email-builder 0.0.42 → 0.0.44
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 +15 -0
- package/dist/index.mjs +15 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -322,6 +322,21 @@ function renderToStaticMarkup(document, { rootBlockId }) {
|
|
|
322
322
|
.responsive-desktop { display: none !important; }
|
|
323
323
|
}
|
|
324
324
|
.no-underline a { text-decoration: none }
|
|
325
|
+
|
|
326
|
+
@media only screen and (max-width: 450px) {
|
|
327
|
+
.stack {
|
|
328
|
+
display: block !important;
|
|
329
|
+
width: 100% !important;
|
|
330
|
+
max-width: 100% !important;
|
|
331
|
+
}
|
|
332
|
+
.stack.stack-header { display: table-header-group !important; }
|
|
333
|
+
.stack.stack-footer { display: table-footer-group !important; }
|
|
334
|
+
/* optional, helps images fit when stacked */
|
|
335
|
+
.stack img {
|
|
336
|
+
width: 100% !important;
|
|
337
|
+
height: auto !important;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
325
340
|
`)), /* @__PURE__ */ import_react5.default.createElement("body", null, /* @__PURE__ */ import_react5.default.createElement(Reader, { document, rootBlockId })))
|
|
326
341
|
);
|
|
327
342
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -289,6 +289,21 @@ function renderToStaticMarkup(document, { rootBlockId }) {
|
|
|
289
289
|
.responsive-desktop { display: none !important; }
|
|
290
290
|
}
|
|
291
291
|
.no-underline a { text-decoration: none }
|
|
292
|
+
|
|
293
|
+
@media only screen and (max-width: 450px) {
|
|
294
|
+
.stack {
|
|
295
|
+
display: block !important;
|
|
296
|
+
width: 100% !important;
|
|
297
|
+
max-width: 100% !important;
|
|
298
|
+
}
|
|
299
|
+
.stack.stack-header { display: table-header-group !important; }
|
|
300
|
+
.stack.stack-footer { display: table-footer-group !important; }
|
|
301
|
+
/* optional, helps images fit when stacked */
|
|
302
|
+
.stack img {
|
|
303
|
+
width: 100% !important;
|
|
304
|
+
height: auto !important;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
292
307
|
`)), /* @__PURE__ */ React5.createElement("body", null, /* @__PURE__ */ React5.createElement(Reader, { document, rootBlockId })))
|
|
293
308
|
);
|
|
294
309
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudyzeinoun/email-builder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
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.
|
|
33
|
+
"@rudyzeinoun/block-columns-container": "^0.0.15",
|
|
34
34
|
"@usewaypoint/block-divider": "^0.0.4",
|
|
35
35
|
"@rudyzeinoun/block-heading": "^0.0.6",
|
|
36
36
|
"@rudyzeinoun/block-html": "^0.0.5",
|