@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/esm/index.js CHANGED
@@ -5835,8 +5835,7 @@ const Toolbar = defineComponent({
5835
5835
  siblingsWidth += s.offsetWidth;
5836
5836
  }
5837
5837
  }
5838
- const gapCount = Math.max(0, siblings.length);
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
- // paddingRight: '40px',
8712
+ padding: "0px 10px",
8714
8713
  gap: "0px",
8715
8714
  minWidth: "0",
8716
8715
  overflow: "hidden"