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] regression: update font size of comment editor #7048

Aaryan Khandelwal0d5c7c66531f
diff --git a/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx b/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx
index 70fcedd0ac..56a71be5a5 100644
--- a/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx
+++ b/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx
@@ -144,6 +144,9 @@ export const CommentCard: React.FC<Props> = observer((props) => {
ref={showEditorRef}
id={comment.id}
initialValue={comment.comment_html}
+ displayConfig={{
+ fontSize: "small-font",
+ }}
/>
<CommentReactions anchor={anchor} commentId={comment.id} />
</div>
diff --git a/web/core/components/comments/comment-card.tsx b/web/core/components/comments/comment-card.tsx
index 698e1ddf3e..1831af4a08 100644
--- a/web/core/components/comments/comment-card.tsx
+++ b/web/core/components/comments/comment-card.tsx
@@ -162,6 +162,9 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
}}
projectId={projectId?.toString() ?? ""}
parentClassName="p-2"
+ displayConfig={{
+ fontSize: "small-font",
+ }}
/>
</div>
<div className="flex gap-1 self-end">
@@ -209,6 +212,9 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
workspaceSlug={workspaceSlug}
containerClassName="!py-1"
projectId={(projectId as string) ?? ""}
+ displayConfig={{
+ fontSize: "small-font",
+ }}
/>
<CommentReactions comment={comment} disabled={disabled} activityOperations={activityOperations} />
</div>
diff --git a/web/core/components/comments/comment-create.tsx b/web/core/components/comments/comment-create.tsx
index dc74a9a129..aae88c6c16 100644
--- a/web/core/components/comments/comment-create.tsx
+++ b/web/core/components/comments/comment-create.tsx
@@ -137,6 +137,9 @@ export const CommentCreate: FC<TCommentCreate> = observer((props) => {
}}
showToolbarInitially={showToolbarInitially}
parentClassName="p-2"
+ displayConfig={{
+ fontSize: "small-font",
+ }}
/>
)}
/>
diff --git a/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx b/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx
index feb8c373ce..7d58b3a8f8 100644
--- a/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx
+++ b/web/core/components/workspace-notifications/sidebar/notification-card/content.tsx
@@ -102,6 +102,9 @@ export const NotificationContent: FC<{
workspaceId={workspaceId}
workspaceSlug={workspaceSlug}
projectId={projectId}
+ displayConfig={{
+ fontSize: "small-font",
+ }}
/>
</div>
)}