From 817651d9b070e4ac52878d7ff7bbe1b363a09f98 Mon Sep 17 00:00:00 2001 From: Vips19 Date: Wed, 16 Jun 2021 01:47:30 +0530 Subject: [PATCH 1/2] fix issue #1172 --- src/components/ChallengeEditor/ChallengeView/index.js | 6 ++++-- src/config/constants.js | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) 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.' } From 0270c2fcfb67143472078cd66134a4d9c4ef6391 Mon Sep 17 00:00:00 2001 From: Vips19 Date: Wed, 16 Jun 2021 22:33:22 +0530 Subject: [PATCH 2/2] fix button layout issue --- .../ChallengeEditor/ChallengeView/ChallengeView.module.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {