Procházet zdrojové kódy

:art: https://github.com/siyuan-note/siyuan/issues/11258

Vanessa před 1 rokem
rodič
revize
84722c3d0d
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      app/src/protyle/export/index.ts

+ 1 - 0
app/src/protyle/export/index.ts

@@ -308,6 +308,7 @@ const renderPDF = async (id: string) => {
             // 强制换行 https://ld246.com/article/1679228783553
             item.parentElement.setAttribute("linewrap", "true");
             item.parentElement.style.width = "";
+            item.parentElement.style.boxSizing = "border-box";
             item.parentElement.style.width = Math.min(item.parentElement.clientWidth, width) + "px";
             item.removeAttribute('data-render');
         })