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

Fixed ReplyButton text

This commit is contained in:
Simon Backx 2022-09-01 15:09:34 +02:00
parent 92accd76f0
commit 8a26164200
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ const Form = (props) => {
let config;
if (props.isReply) {
config = {
placeholder: 'ReplyButton to comment',
placeholder: 'Reply to comment',
autofocus: true
};
} else if (props.isEdit) {

View file

@ -7,7 +7,7 @@ function ReplyButton(props) {
return member ?
(<button disabled={!!props.disabled} className={`group duration-50 flex items-center font-sans text-sm outline-0 transition-all ease-linear ${props.isReplying ? 'text-neutral-900 dark:text-[rgba(255,255,255,0.9)]' : 'text-neutral-500 hover:text-neutral-600 dark:text-[rgba(255,255,255,0.5)] dark:hover:text-[rgba(255,255,255,0.3)]'}`} onClick={props.toggleReply} data-testid="reply-button">
<ReplyIcon className={`mr-[6px] ${props.isReplying ? 'fill-neutral-900 stroke-neutral-900 dark:fill-white dark:stroke-white' : 'stroke-neutral-400 group-hover:stroke-neutral-600 dark:stroke-[rgba(255,255,255,0.5)]'} duration-50 transition ease-linear`} />ReplyButton
<ReplyIcon className={`mr-[6px] ${props.isReplying ? 'fill-neutral-900 stroke-neutral-900 dark:fill-white dark:stroke-white' : 'stroke-neutral-400 group-hover:stroke-neutral-600 dark:stroke-[rgba(255,255,255,0.5)]'} duration-50 transition ease-linear`} />Reply
</button>) : null;
}