diff --git a/packages/nc-gui/components/cell/RichText.vue b/packages/nc-gui/components/cell/RichText.vue index 9a02bf095a..e2c6522d86 100644 --- a/packages/nc-gui/components/cell/RichText.vue +++ b/packages/nc-gui/components/cell/RichText.vue @@ -162,7 +162,7 @@ watch(editorDom, () => { class="flex flex-col nc-textarea-rich-editor w-full" :class="{ 'ml-1 mt-2.5 flex-grow': props.fullMode, - 'nc-scrollbar-md': !props.fullMode, + 'nc-scrollbar-md': !props.fullMode && !props.readonly, }" />