0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added in a cancel button for when replying

refs https://github.com/TryGhost/Team/issues/1703
This commit is contained in:
James Morris 2022-07-27 13:39:09 +01:00
parent 14dedbf95a
commit 457406a86b

View file

@ -301,7 +301,7 @@ const Form = (props) => {
flex space-x-4
transition-[opacity] duration-150
">
{props.isEdit &&
{(props.isEdit || props.isReply) &&
<button type="button" onClick={props.close} className="font-sans text-sm font-medium ml-2.5 text-neutral-500 dark:text-neutral-400">Cancel</button>}
<button
className={`