@fileverse-dev/ddoc 2.1.2-patch-2 → 2.1.2-patch-3.1

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 +13 -7
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -79767,13 +79767,14 @@ const x5 = [
79767
79767
  .ProseMirror img {
79768
79768
  max-width: 720px;
79769
79769
  max-height: calc(100vh - 96px);
79770
- width: auto !important;
79771
- height: auto !important;
79772
- object-fit: contain;
79770
+ width: initial !important;
79771
+ height: initial !important;
79772
+ object-fit: scale-down;
79773
79773
  display: block;
79774
79774
  margin: 16px auto;
79775
79775
  position: relative;
79776
79776
  box-sizing: border-box;
79777
+ aspect-ratio: auto;
79777
79778
  }
79778
79779
 
79779
79780
  /* Code blocks */
@@ -79876,8 +79877,13 @@ const x5 = [
79876
79877
  margin: 0;
79877
79878
  }
79878
79879
  img {
79879
- max-width: 100%;
79880
- height: auto;
79880
+ max-width: initial;
79881
+ height: initial;
79882
+ object-fit: scale-down;
79883
+ aspect-ratio: auto;
79884
+ display: block;
79885
+ margin-left: auto;
79886
+ margin-right: auto;
79881
79887
  }
79882
79888
  h3 {
79883
79889
  font-weight: 600;
@@ -95851,8 +95857,8 @@ const oee = ({
95851
95857
  children: /* @__PURE__ */ P.jsxs(
95852
95858
  "div",
95853
95859
  {
95854
- draggable: !0,
95855
- "data-drag-handle": !0,
95860
+ draggable: m,
95861
+ "data-drag-handle": m,
95856
95862
  className: Rt(
95857
95863
  "w-fit flex flex-col gap-2 relative group transition-all ease-in-out",
95858
95864
  m && "opacity-50"
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.2-patch-2",
5
+ "version": "2.1.2-patch-3.1",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {