From ea121f331c9655b38baf585bfac4c38f21f444f9 Mon Sep 17 00:00:00 2001 From: Robin Pyon Date: Wed, 18 Oct 2023 02:20:20 +0100 Subject: [PATCH] fixup! fix(comments): add viewport specific max-height to editable comment areas --- .../src/components/pte/comment-input/CommentInputInner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/desk/comments/src/components/pte/comment-input/CommentInputInner.tsx b/packages/sanity/src/desk/comments/src/components/pte/comment-input/CommentInputInner.tsx index 3197a3de71b..d817979fee4 100644 --- a/packages/sanity/src/desk/comments/src/components/pte/comment-input/CommentInputInner.tsx +++ b/packages/sanity/src/desk/comments/src/components/pte/comment-input/CommentInputInner.tsx @@ -10,7 +10,7 @@ import {Editable} from './Editable' import {useUser} from 'sanity' const EditableWrap = styled(Box)` - max-height: 30vh; + max-height: 20vh; overflow-y: auto; `