diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index f594aa951..e0b92aaf1 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -526,6 +526,7 @@ & > div:not(.protyle-attr--memo):not(.protyle-attr--refcount) { cursor: pointer; @include text-clamp(1); + max-width: 25vw; } } diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index fcb8ff79e..8bcd17b91 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -181,11 +181,11 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IPr avName: string }) => { let innerHTML = `