From e942f41f66cdd7e0f62cefdb65e3a4bb0213eeae Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:32:16 +0800 Subject: [PATCH] fix: monaco editor can not adjust height when parent node's size changes from large to small --- .../src/components/content_value/ContentEditor.vue | 12 +++++++++++- .../components/content_value/ContentEntryEditor.vue | 13 +++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/content_value/ContentEditor.vue b/frontend/src/components/content_value/ContentEditor.vue index bfd3293..b45ec7e 100644 --- a/frontend/src/components/content_value/ContentEditor.vue +++ b/frontend/src/components/content_value/ContentEditor.vue @@ -152,7 +152,9 @@ onUnmounted(() => { diff --git a/frontend/src/components/content_value/ContentEntryEditor.vue b/frontend/src/components/content_value/ContentEntryEditor.vue index f969199..0d6a68a 100644 --- a/frontend/src/components/content_value/ContentEntryEditor.vue +++ b/frontend/src/components/content_value/ContentEntryEditor.vue @@ -157,8 +157,8 @@ const onSave = () => {