mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Moved reply box above replies
This commit is contained in:
parent
b9740dbe1e
commit
857dbbc315
1 changed files with 5 additions and 5 deletions
|
@ -55,16 +55,16 @@ const Comment = (props) => {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{hasReplies &&
|
||||
<div className="ml-14 mt-10">
|
||||
<Replies comment={comment} avatarSaturation={props.avatarSaturation} />
|
||||
</div>
|
||||
}
|
||||
{isInReplyMode &&
|
||||
<div className={`ml-14 mb-10 ${!hasReplies && 'mt-10'}`}>
|
||||
<ReplyForm parent={comment} toggle={toggleReplyMode} avatarSaturation={props.avatarSaturation} />
|
||||
</div>
|
||||
}
|
||||
{hasReplies &&
|
||||
<div className="ml-14 mt-10">
|
||||
<Replies comment={comment} avatarSaturation={props.avatarSaturation} />
|
||||
</div>
|
||||
}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue