fix: peek overview comment ordering and comment icon alignment fix (#2753)

This commit is contained in:
Anmol Singh Bhatia 2023-11-10 18:45:41 +05:30 committed by sriram veeraghanta
parent 5cbec23d5e
commit 4d35c931cd
2 changed files with 2 additions and 3 deletions

View File

@ -140,7 +140,7 @@ export const CommentCard: React.FC<Props> = ({
</form>
<div className={`relative ${isEditing ? "hidden" : ""}`}>
{showAccessSpecifier && (
<div className="absolute top-1 right-1.5 z-[1] text-custom-text-300">
<div className="absolute top-2.5 right-2.5 z-[1] text-custom-text-300">
{comment.access === "INTERNAL" ? <Lock className="h-3 w-3" /> : <Globe2 className="h-3 w-3" />}
</div>
)}

View File

@ -42,8 +42,6 @@ export const IssueComment: FC<IIssueComment> = (props) => {
<div className="font-medium text-lg">Activity</div>
<div className="space-y-2">
<IssueCommentEditor onSubmit={handleAddComment} showAccessSpecifier={showCommentAccessSpecifier} />
<IssueActivityCard
workspaceSlug={workspaceSlug}
projectId={projectId}
@ -55,6 +53,7 @@ export const IssueComment: FC<IIssueComment> = (props) => {
issueCommentReactionCreate={issueCommentReactionCreate}
issueCommentReactionRemove={issueCommentReactionRemove}
/>
<IssueCommentEditor onSubmit={handleAddComment} showAccessSpecifier={showCommentAccessSpecifier} />
</div>
</div>
);