Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

Aaryan Khandelwal64aae0a2ac0a
diff --git a/web/core/components/comments/comment-card.tsx b/web/core/components/comments/comment-card.tsx
index dd9e61e03c..698e1ddf3e 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<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) ?? ""}
/>
diff --git a/web/core/components/comments/comment-create.tsx b/web/core/components/comments/comment-create.tsx
index 1321a385fb..dc74a9a129 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<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}