From 64aae0a2ac0a4ee45e8448cff813c2d6965b1485 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Fri, 9 May 2025 18:49:43 +0530 Subject: [PATCH] [WEB-4051] fix: comment editor list items font size #7034 --- web/core/components/comments/comment-card.tsx | 4 +--- web/core/components/comments/comment-create.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web/core/components/comments/comment-card.tsx b/web/core/components/comments/comment-card.tsx index dd9e61e03..698e1ddf3 100644 --- a/web/core/components/comments/comment-card.tsx +++ b/web/core/components/comments/comment-card.tsx @@ -161,9 +161,8 @@ export const CommentCard: FC = observer((props) => { return asset_id; }} projectId={projectId?.toString() ?? ""} - editorClassName="[&>*]:!py-0 [&>*]:!text-sm" parentClassName="p-2" - /> + />
{!isEmpty && ( @@ -208,7 +207,6 @@ export const CommentCard: FC = observer((props) => { initialValue={comment.comment_html ?? ""} workspaceId={workspaceId} workspaceSlug={workspaceSlug} - editorClassName="[&>*]:!py-0 [&>*]:!text-sm" containerClassName="!py-1" projectId={(projectId as string) ?? ""} /> diff --git a/web/core/components/comments/comment-create.tsx b/web/core/components/comments/comment-create.tsx index 1321a385f..dc74a9a12 100644 --- a/web/core/components/comments/comment-create.tsx +++ b/web/core/components/comments/comment-create.tsx @@ -125,7 +125,7 @@ export const CommentCreate: FC = observer((props) => { }} ref={editorRef} initialValue={value ?? "

"} - containerClassName="min-h-min [&_p]:!p-0 [&_p]:!text-sm" + containerClassName="min-h-min" onChange={(comment_json, comment_html) => onChange(comment_html)} accessSpecifier={accessValue ?? EIssueCommentAccessSpecifier.INTERNAL} handleAccessChange={onAccessChange}