From 8e629adbb1a26adf619426deef6f80067613d316 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 13 Feb 2025 16:59:53 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13947 --- app/src/assets/scss/protyle/_wysiwyg.scss | 1 + app/src/protyle/render/av/blockAttr.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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 = `
- `; table.keyValues?.forEach(item => {