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}