@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/cjs/index.js
CHANGED
|
@@ -5856,8 +5856,7 @@ const Toolbar = vue.defineComponent({
|
|
|
5856
5856
|
siblingsWidth += s.offsetWidth;
|
|
5857
5857
|
}
|
|
5858
5858
|
}
|
|
5859
|
-
|
|
5860
|
-
containerWidth = parent.clientWidth - siblingsWidth - gapCount * 12;
|
|
5859
|
+
containerWidth = parent.clientWidth - siblingsWidth - 12;
|
|
5861
5860
|
} else {
|
|
5862
5861
|
containerWidth = container.clientWidth;
|
|
5863
5862
|
}
|
|
@@ -8731,7 +8730,7 @@ const FixedToolbarComponent = vue.defineComponent({
|
|
|
8731
8730
|
width: "100%",
|
|
8732
8731
|
maxWidth: isFull.value ? "100%" : maxWidth.value,
|
|
8733
8732
|
margin: isFull.value ? "0" : "0 auto",
|
|
8734
|
-
|
|
8733
|
+
padding: "0px 10px",
|
|
8735
8734
|
gap: "0px",
|
|
8736
8735
|
minWidth: "0",
|
|
8737
8736
|
overflow: "hidden"
|