@zphhhhh/docx-preview 0.4.21 → 0.4.22

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.
@@ -6696,6 +6696,8 @@
6696
6696
  renderDrawing(elem, parent) {
6697
6697
  return __awaiter(this, void 0, void 0, function* () {
6698
6698
  const oDrawing = createElement('span');
6699
+ oDrawing.style.display = 'inline-block';
6700
+ oDrawing.style.position = 'relative';
6699
6701
  oDrawing.style.textIndent = '0px';
6700
6702
  oDrawing.dataset.wrap = elem === null || elem === void 0 ? void 0 : elem.props.wrapType;
6701
6703
  this.renderStyleValues(elem.cssStyle, oDrawing);