diff --git a/src/components/ChallengeEditor/ChallengeView/ChallengeView.module.scss b/src/components/ChallengeEditor/ChallengeView/ChallengeView.module.scss index 2ed1d915..264c98b1 100644 --- a/src/components/ChallengeEditor/ChallengeView/ChallengeView.module.scss +++ b/src/components/ChallengeEditor/ChallengeView/ChallengeView.module.scss @@ -263,7 +263,7 @@ .button { height: 40px; span { - padding: 0 20px; + padding: 0 15px; } } .buttonContainer { diff --git a/src/components/ChallengeEditor/ChallengeView/index.js b/src/components/ChallengeEditor/ChallengeView/index.js index 6ae3e3ed..1623765c 100644 --- a/src/components/ChallengeEditor/ChallengeView/index.js +++ b/src/components/ChallengeEditor/ChallengeView/index.js @@ -112,11 +112,13 @@ const ChallengeView = ({ isTask && challenge.status === 'Active' && (
{ assignedMemberDetails ? ( - + + + ) : ( {/* Don't disable button for real inside tooltip, otherwise mouseEnter/Leave events work not good */} - + )}
diff --git a/src/config/constants.js b/src/config/constants.js index 4fa3ef79..68331ccc 100644 --- a/src/config/constants.js +++ b/src/config/constants.js @@ -228,5 +228,6 @@ export const MESSAGE = { TASK_CLOSE_SUCCESS: 'Task closed successfully', CHALLENGE_LAUNCH_SUCCESS: 'Challenge activated successfully', COMMUNITY_REVIEW_DISABLED: 'Community review is NOT available for Design challenges', - INTERNAL_REVIEW_DISABLED: 'Internal review is NOT available for QA challenges' + INTERNAL_REVIEW_DISABLED: 'Internal review is NOT available for QA challenges', + MARK_COMPLETE: 'This will close the task and generate a payment for the assignee and copilot.' }