[WEB-4051] regression: update font size of comment editor #7048
This commit is contained in:
parent
079c3a3a99
commit
0d5c7c6653
4 changed files with 15 additions and 0 deletions
|
|
@ -144,6 +144,9 @@ export const CommentCard: React.FC<Props> = observer((props) => {
|
||||||
ref={showEditorRef}
|
ref={showEditorRef}
|
||||||
id={comment.id}
|
id={comment.id}
|
||||||
initialValue={comment.comment_html}
|
initialValue={comment.comment_html}
|
||||||
|
displayConfig={{
|
||||||
|
fontSize: "small-font",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<CommentReactions anchor={anchor} commentId={comment.id} />
|
<CommentReactions anchor={anchor} commentId={comment.id} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,9 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
|
||||||
}}
|
}}
|
||||||
projectId={projectId?.toString() ?? ""}
|
projectId={projectId?.toString() ?? ""}
|
||||||
parentClassName="p-2"
|
parentClassName="p-2"
|
||||||
|
displayConfig={{
|
||||||
|
fontSize: "small-font",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-1 self-end">
|
<div className="flex gap-1 self-end">
|
||||||
|
|
@ -209,6 +212,9 @@ export const CommentCard: FC<TCommentCard> = observer((props) => {
|
||||||
workspaceSlug={workspaceSlug}
|
workspaceSlug={workspaceSlug}
|
||||||
containerClassName="!py-1"
|
containerClassName="!py-1"
|
||||||
projectId={(projectId as string) ?? ""}
|
projectId={(projectId as string) ?? ""}
|
||||||
|
displayConfig={{
|
||||||
|
fontSize: "small-font",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<CommentReactions comment={comment} disabled={disabled} activityOperations={activityOperations} />
|
<CommentReactions comment={comment} disabled={disabled} activityOperations={activityOperations} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,9 @@ export const CommentCreate: FC<TCommentCreate> = observer((props) => {
|
||||||
}}
|
}}
|
||||||
showToolbarInitially={showToolbarInitially}
|
showToolbarInitially={showToolbarInitially}
|
||||||
parentClassName="p-2"
|
parentClassName="p-2"
|
||||||
|
displayConfig={{
|
||||||
|
fontSize: "small-font",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,9 @@ export const NotificationContent: FC<{
|
||||||
workspaceId={workspaceId}
|
workspaceId={workspaceId}
|
||||||
workspaceSlug={workspaceSlug}
|
workspaceSlug={workspaceSlug}
|
||||||
projectId={projectId}
|
projectId={projectId}
|
||||||
|
displayConfig={{
|
||||||
|
fontSize: "small-font",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue