Minor UI corrections for comment dialog

This commit is contained in:
navaneeth 2021-11-04 14:55:57 +05:30
parent 6d8ac86f36
commit fe6fbcaad6
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ function CommentFooter({ editComment = '', editCommentId, handleSubmit }) {
'cursor-not-allowed': !comment,
})}
>
<Button loading={loading} disabled={!comment} className={`m2 `} onClick={handleClick}>
<Button loading={loading} disabled={!comment} className={`m2 btn-sm rounded-2`} onClick={handleClick}>
Send
</Button>
</div>

View file

@ -75,14 +75,14 @@ const CommentHeader = ({ socket, count = 0, threadId, isResolved, isThreadOwner,
<div className="ms-auto d-flex">
<span
title={isThreadOwner ? 'toggle resolved' : 'only creator of thread can resolve'}
className={cx('m-1', { disabled: !isThreadOwner })}
className={cx('m-1 cursor-pointer', { disabled: !isThreadOwner })}
onClick={handleResolved}
>
{getResolveIcon()}
</span>
<svg
onClick={handleDelete}
className="m-1"
className="m-1 cursor-pointer"
width="20"
height="20"
viewBox="0 0 20 20"