[WEB-4051] fix: comment editor list items font size #7034

This commit is contained in:
Aaryan Khandelwal
2025-05-09 18:49:43 +05:30
committed by GitHub
parent a263bfc01f
commit 64aae0a2ac
2 changed files with 2 additions and 4 deletions

View File

@@ -161,9 +161,8 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
return asset_id;
}}
projectId={projectId?.toString() ?? ""}
editorClassName="[&>*]:!py-0 [&>*]:!text-sm"
parentClassName="p-2"
/>
/>
</div>
<div className="flex gap-1 self-end">
{!isEmpty && (
@@ -208,7 +207,6 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
initialValue={comment.comment_html ?? ""}
workspaceId={workspaceId}
workspaceSlug={workspaceSlug}
editorClassName="[&>*]:!py-0 [&>*]:!text-sm"
containerClassName="!py-1"
projectId={(projectId as string) ?? ""}
/>

View File

@@ -125,7 +125,7 @@ export const CommentCreate: FC<TCommentCreate> = observer((props) => {
}}
ref={editorRef}
initialValue={value ?? "<p></p>"}
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}