0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed up the reply box no having proper margins

This commit is contained in:
James Morris 2022-07-08 12:27:44 +02:00
parent 7aa4a4a44f
commit 714ef334a0
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ const Comment = (props) => {
<div className="ml-14 flex gap-5 items-center">
<Like comment={comment} />
{(isNotPublished || !props.parent) && <Reply comment={comment} toggleReply={toggleReplyMode} isReplying={isInReplyMode} />}
<h6 className="text-sm text-neutral-400 dark:text-[rgba(255,255,255,0.5)] font-sans">{formatRelativeTime(comment.created_at)}</h6>
<div className="text-sm text-neutral-400 dark:text-[rgba(255,255,255,0.5)] font-sans">{formatRelativeTime(comment.created_at)}</div>
<More comment={comment} toggleEdit={toggleEditMode} />
</div>
</div>

View file

@ -119,7 +119,7 @@ const Form = (props) => {
dark:bg-[rgba(255,255,255,0.08)]
dark:shadow-transparent
hover:shadow-xl
${!commentsCount && !props.isEdit && '-mt-0 -mr-0 -ml-0'}
${!commentsCount && !props.isEdit && !props.isReply && '-mt-0 -mr-0 -ml-0'}
${focused ? 'cursor-default' : 'cursor-pointer'}`
}>
<div className="w-full relative">