@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.
@@ -6675,6 +6675,8 @@ class HtmlRendererSync {
6675
6675
  renderDrawing(elem, parent) {
6676
6676
  return __awaiter(this, void 0, void 0, function* () {
6677
6677
  const oDrawing = createElement('span');
6678
+ oDrawing.style.display = 'inline-block';
6679
+ oDrawing.style.position = 'relative';
6678
6680
  oDrawing.style.textIndent = '0px';
6679
6681
  oDrawing.dataset.wrap = elem === null || elem === void 0 ? void 0 : elem.props.wrapType;
6680
6682
  this.renderStyleValues(elem.cssStyle, oDrawing);