mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Fixed ReplyButton text
This commit is contained in:
parent
92accd76f0
commit
8a26164200
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ const Form = (props) => {
|
||||||
let config;
|
let config;
|
||||||
if (props.isReply) {
|
if (props.isReply) {
|
||||||
config = {
|
config = {
|
||||||
placeholder: 'ReplyButton to comment',
|
placeholder: 'Reply to comment',
|
||||||
autofocus: true
|
autofocus: true
|
||||||
};
|
};
|
||||||
} else if (props.isEdit) {
|
} else if (props.isEdit) {
|
||||||
|
|
|
@ -7,7 +7,7 @@ function ReplyButton(props) {
|
||||||
|
|
||||||
return member ?
|
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">
|
(<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;
|
</button>) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue