@rudyzeinoun/email-builder 0.0.26 → 0.0.27
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -316,10 +316,10 @@ function Reader({ document, rootBlockId }) {
|
|
|
316
316
|
// src/renderers/renderToStaticMarkup.tsx
|
|
317
317
|
function renderToStaticMarkup(document, { rootBlockId }) {
|
|
318
318
|
return "<!DOCTYPE html>" + (0, import_server.renderToStaticMarkup)(
|
|
319
|
-
/* @__PURE__ */ import_react5.default.createElement("html", null, /* @__PURE__ */ import_react5.default.createElement("head", null, /* @__PURE__ */ import_react5.default.createElement("style", { type: "text/css" }, `
|
|
319
|
+
/* @__PURE__ */ import_react5.default.createElement("html", null, /* @__PURE__ */ import_react5.default.createElement("head", null, /* @__PURE__ */ import_react5.default.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }), /* @__PURE__ */ import_react5.default.createElement("style", { type: "text/css" }, `
|
|
320
320
|
.responsive-mobile { display: none !important; }
|
|
321
321
|
.responsive-desktop { display: block !important; }
|
|
322
|
-
@media (max-width:
|
|
322
|
+
@media (max-width: 450px) {
|
|
323
323
|
.responsive-mobile { display: block !important; }
|
|
324
324
|
.responsive-desktop { display: none !important; }
|
|
325
325
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -283,10 +283,10 @@ function Reader({ document, rootBlockId }) {
|
|
|
283
283
|
// src/renderers/renderToStaticMarkup.tsx
|
|
284
284
|
function renderToStaticMarkup(document, { rootBlockId }) {
|
|
285
285
|
return "<!DOCTYPE html>" + baseRenderToStaticMarkup(
|
|
286
|
-
/* @__PURE__ */ React5.createElement("html", null, /* @__PURE__ */ React5.createElement("head", null, /* @__PURE__ */ React5.createElement("style", { type: "text/css" }, `
|
|
286
|
+
/* @__PURE__ */ React5.createElement("html", null, /* @__PURE__ */ React5.createElement("head", null, /* @__PURE__ */ React5.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }), /* @__PURE__ */ React5.createElement("style", { type: "text/css" }, `
|
|
287
287
|
.responsive-mobile { display: none !important; }
|
|
288
288
|
.responsive-desktop { display: block !important; }
|
|
289
|
-
@media (max-width:
|
|
289
|
+
@media (max-width: 450px) {
|
|
290
290
|
.responsive-mobile { display: block !important; }
|
|
291
291
|
.responsive-desktop { display: none !important; }
|
|
292
292
|
}
|