@fileverse-dev/ddoc 2.1.0-patch-10 → 2.1.0-patch-12

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.
Files changed (2) hide show
  1. package/dist/index.es.js +5 -3
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -137134,7 +137134,9 @@ const Tmt = an.create({
137134
137134
  "1.5": "-translate-x-[140%]",
137135
137135
  2: "-translate-x-[300%]"
137136
137136
  };
137137
- n in r && (e.classList.remove(...Array.from(e.classList).filter((i) => i.startsWith("-translate-x-"))), e.classList.add(r[n]));
137137
+ e.classList.remove(
137138
+ ...Array.from(e.classList).filter((i) => i.startsWith("-translate-x-"))
137139
+ ), !window.matchMedia("(max-width: 1280px)").matches && n in r && e.classList.add(r[n]);
137138
137140
  }
137139
137141
  };
137140
137142
  pe($0, "instance");
@@ -142402,9 +142404,9 @@ const f6t = (t) => {
142402
142404
 
142403
142405
  /* Images */
142404
142406
  .ProseMirror img {
142405
- max-width: 100%;
142407
+ max-width: 720px;
142406
142408
  height: auto;
142407
- margin: 16px 0;
142409
+ margin: 16px auto;
142408
142410
  }
142409
142411
 
142410
142412
  /* Code blocks */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.1.0-patch-10",
5
+ "version": "2.1.0-patch-12",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {