mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Added in conditions to the submit button values to work on mobile
refs https://github.com/TryGhost/Team/issues/1703
This commit is contained in:
parent
fa411fdbf2
commit
4ab0bdf3b7
1 changed files with 2 additions and 2 deletions
|
@ -193,11 +193,11 @@ const Form = (props) => {
|
|||
|
||||
let submitText;
|
||||
if (props.isReply) {
|
||||
submitText = 'Add reply';
|
||||
submitText = <><span className="hidden sm:inline">Add </span><span className="capitalize sm:normal-case">reply</span></>;
|
||||
} else if (props.isEdit) {
|
||||
submitText = 'Save';
|
||||
} else {
|
||||
submitText = 'Add comment';
|
||||
submitText = <><span className="hidden sm:inline">Add </span><span className="capitalize sm:normal-case">comment</span></>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue