mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
693b43c07b
commit
84722c3d0d
1 changed files with 1 additions and 0 deletions
|
|
@ -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');
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue