|
@@ -242,14 +242,13 @@ export const CommentEditor = (props: CommentEditorProps): JSX.Element => {
|
|
|
<NotAvailableForReadOnlyUser>
|
|
<NotAvailableForReadOnlyUser>
|
|
|
<button
|
|
<button
|
|
|
type="button"
|
|
type="button"
|
|
|
- className="btn btn-secondary w-100 text-start py-3"
|
|
|
|
|
|
|
+ className="btn btn-outline-primary w-100 text-start py-3"
|
|
|
onClick={() => setIsReadyToUse(true)}
|
|
onClick={() => setIsReadyToUse(true)}
|
|
|
data-testid="open-comment-editor-button"
|
|
data-testid="open-comment-editor-button"
|
|
|
>
|
|
>
|
|
|
- <span className="me-2">
|
|
|
|
|
- <UserPicture user={currentUser} noLink noTooltip />
|
|
|
|
|
- </span>
|
|
|
|
|
- Add Comment in markdown...
|
|
|
|
|
|
|
+ <UserPicture user={currentUser} noLink noTooltip additionalClassName="me-3" />
|
|
|
|
|
+ <span className="material-symbols-outlined me-1 fs-5">add_comment</span>
|
|
|
|
|
+ <small>Add Comment in markdown...</small>
|
|
|
</button>
|
|
</button>
|
|
|
</NotAvailableForReadOnlyUser>
|
|
</NotAvailableForReadOnlyUser>
|
|
|
</NotAvailableForGuest>
|
|
</NotAvailableForGuest>
|
|
@@ -385,7 +384,7 @@ export const CommentEditor = (props: CommentEditorProps): JSX.Element => {
|
|
|
return (
|
|
return (
|
|
|
<div className={`${styles['comment-editor-styles']} form page-comment-form`}>
|
|
<div className={`${styles['comment-editor-styles']} form page-comment-form`}>
|
|
|
<div className="comment-form">
|
|
<div className="comment-form">
|
|
|
- <div className="comment-form-main bg-secondary rounded">
|
|
|
|
|
|
|
+ <div className="comment-form-main bg-comment rounded">
|
|
|
{isReadyToUse
|
|
{isReadyToUse
|
|
|
? renderReady()
|
|
? renderReady()
|
|
|
: renderBeforeReady()
|
|
: renderBeforeReady()
|