From 1282e9653e13db0eccc8e696b6db659db38c9fe4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 13 Nov 2024 08:15:47 -0500 Subject: [PATCH] fix: Excess padding on internal read-only docs, should only have applied to shares --- app/components/Editor.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/app/components/Editor.tsx b/app/components/Editor.tsx index 6556515f12..21a9652ab3 100644 --- a/app/components/Editor.tsx +++ b/app/components/Editor.tsx @@ -268,14 +268,15 @@ function Editor(props: Props, ref: React.RefObject | null) { placeholder={props.placeholder || ""} defaultValue={props.defaultValue || ""} /> - {props.editorStyle?.paddingBottom && ( - - )} + {props.editorStyle?.paddingBottom && + (!props.readOnly || props.shareId) && ( + + )} );