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:
parent
7aa4a4a44f
commit
714ef334a0
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ const Comment = (props) => {
|
||||||
<div className="ml-14 flex gap-5 items-center">
|
<div className="ml-14 flex gap-5 items-center">
|
||||||
<Like comment={comment} />
|
<Like comment={comment} />
|
||||||
{(isNotPublished || !props.parent) && <Reply comment={comment} toggleReply={toggleReplyMode} isReplying={isInReplyMode} />}
|
{(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} />
|
<More comment={comment} toggleEdit={toggleEditMode} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -119,7 +119,7 @@ const Form = (props) => {
|
||||||
dark:bg-[rgba(255,255,255,0.08)]
|
dark:bg-[rgba(255,255,255,0.08)]
|
||||||
dark:shadow-transparent
|
dark:shadow-transparent
|
||||||
hover:shadow-xl
|
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'}`
|
${focused ? 'cursor-default' : 'cursor-pointer'}`
|
||||||
}>
|
}>
|
||||||
<div className="w-full relative">
|
<div className="w-full relative">
|
||||||
|
|
Loading…
Add table
Reference in a new issue