0
Fork 0
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:
Peter Zimon 2022-07-07 14:36:11 +02:00
parent b9740dbe1e
commit 857dbbc315

View file

@ -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>
}
</>
);
}