[WEB-4051] regression: update font size of comment editor #7048

This commit is contained in:
Aaryan Khandelwal 2025-05-12 19:47:44 +05:30 committed by GitHub
parent 079c3a3a99
commit 0d5c7c6653
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 0 deletions

View file

@ -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>

View file

@ -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>

View file

@ -137,6 +137,9 @@ export const CommentCreate: FC<TCommentCreate> = observer((props) => {
}}
showToolbarInitially={showToolbarInitially}
parentClassName="p-2"
displayConfig={{
fontSize: "small-font",
}}
/>
)}
/>

View file

@ -102,6 +102,9 @@ export const NotificationContent: FC<{
workspaceId={workspaceId}
workspaceSlug={workspaceSlug}
projectId={projectId}
displayConfig={{
fontSize: "small-font",
}}
/>
</div>
)}