@jvs-milkdown/crepe 1.2.33 → 1.2.34
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/lib/cjs/feature/toolbar/index.js +1 -2
- package/lib/cjs/feature/toolbar/index.js.map +1 -1
- package/lib/cjs/index.js +2 -3
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/feature/toolbar/index.js +1 -2
- package/lib/esm/feature/toolbar/index.js.map +1 -1
- package/lib/esm/index.js +2 -3
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/feature/toolbar/component.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/feature/fixed-toolbar/component.tsx +1 -1
- package/src/feature/toolbar/component.tsx +2 -3
package/lib/esm/index.js
CHANGED
|
@@ -5835,8 +5835,7 @@ const Toolbar = defineComponent({
|
|
|
5835
5835
|
siblingsWidth += s.offsetWidth;
|
|
5836
5836
|
}
|
|
5837
5837
|
}
|
|
5838
|
-
|
|
5839
|
-
containerWidth = parent.clientWidth - siblingsWidth - gapCount * 12;
|
|
5838
|
+
containerWidth = parent.clientWidth - siblingsWidth - 12;
|
|
5840
5839
|
} else {
|
|
5841
5840
|
containerWidth = container.clientWidth;
|
|
5842
5841
|
}
|
|
@@ -8710,7 +8709,7 @@ const FixedToolbarComponent = defineComponent({
|
|
|
8710
8709
|
width: "100%",
|
|
8711
8710
|
maxWidth: isFull.value ? "100%" : maxWidth.value,
|
|
8712
8711
|
margin: isFull.value ? "0" : "0 auto",
|
|
8713
|
-
|
|
8712
|
+
padding: "0px 10px",
|
|
8714
8713
|
gap: "0px",
|
|
8715
8714
|
minWidth: "0",
|
|
8716
8715
|
overflow: "hidden"
|