@rudyzeinoun/email-builder 0.0.42 → 0.0.43
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 +14 -0
- package/dist/index.mjs +14 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -322,6 +322,20 @@ 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: 600px) {
|
|
327
|
+
.stack {
|
|
328
|
+
display: block !important;
|
|
329
|
+
width: 100% !important;
|
|
330
|
+
max-width: 100% !important;
|
|
331
|
+
direction: ltr !important;
|
|
332
|
+
}
|
|
333
|
+
/* optional, helps images fit when stacked */
|
|
334
|
+
.stack img {
|
|
335
|
+
width: 100% !important;
|
|
336
|
+
height: auto !important;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
325
339
|
`)), /* @__PURE__ */ import_react5.default.createElement("body", null, /* @__PURE__ */ import_react5.default.createElement(Reader, { document, rootBlockId })))
|
|
326
340
|
);
|
|
327
341
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -289,6 +289,20 @@ 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: 600px) {
|
|
294
|
+
.stack {
|
|
295
|
+
display: block !important;
|
|
296
|
+
width: 100% !important;
|
|
297
|
+
max-width: 100% !important;
|
|
298
|
+
direction: ltr !important;
|
|
299
|
+
}
|
|
300
|
+
/* optional, helps images fit when stacked */
|
|
301
|
+
.stack img {
|
|
302
|
+
width: 100% !important;
|
|
303
|
+
height: auto !important;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
292
306
|
`)), /* @__PURE__ */ React5.createElement("body", null, /* @__PURE__ */ React5.createElement(Reader, { document, rootBlockId })))
|
|
293
307
|
);
|
|
294
308
|
}
|