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

Fixed up the margin problem when there are no comments

This commit is contained in:
James Morris 2022-07-08 12:12:41 +02:00
parent 880dc77044
commit 8893b701b0

View file

@ -113,18 +113,13 @@ const Form = (props) => {
transition transition
duration-200 duration-200
rounded-md rounded-md
px-3 pt-3 pb-2 px-3
pt-3 -mt-[12px] -mr-3 mb-10 -ml-[12px]
pb-2
mb-10
-mt-[12px]
-ml-[12px]
-mr-3
shadow-lg shadow-lg
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 && '-ml-[12px] -mr-3'} ${!commentsCount && '-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">