mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Removed the left and right spacing around the textbox when there are no comments
refs https://github.com/TryGhost/Team/issues/1752
This commit is contained in:
parent
a1a0bf6723
commit
fa9b22e2c6
1 changed files with 1 additions and 2 deletions
|
@ -339,9 +339,8 @@ const Form = (props) => {
|
||||||
<form ref={formEl} onClick={focusEditor} onMouseDown={preventIfFocused} onTouchStart={preventIfFocused} className={`
|
<form ref={formEl} onClick={focusEditor} onMouseDown={preventIfFocused} onTouchStart={preventIfFocused} className={`
|
||||||
transition duration-200
|
transition duration-200
|
||||||
pt-3 pb-2 px-3
|
pt-3 pb-2 px-3
|
||||||
-mt-[12px] -mr-3 mb-10 -ml-[12px]
|
-mt-[12px] -mx-3 mb-10
|
||||||
rounded-md
|
rounded-md
|
||||||
${!commentsCount && !props.isEdit && !props.isReply && 'mt-0 ml-0 mr-0'}
|
|
||||||
${isFormReallyOpen ? 'cursor-default' : 'cursor-pointer'}
|
${isFormReallyOpen ? 'cursor-default' : 'cursor-pointer'}
|
||||||
${(!props.isReply && !props.isEdit) && '-mt-[4px]'}
|
${(!props.isReply && !props.isEdit) && '-mt-[4px]'}
|
||||||
${(props.isReply || props.isEdit) && '-mt-[16px]'}
|
${(props.isReply || props.isEdit) && '-mt-[16px]'}
|
||||||
|
|
Loading…
Reference in a new issue