File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
src/components/ChallengeEditor/ChallengeViewTabs Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ $tc-white: #FFFFFF;
3434.button {
3535 height : 40px ;
3636 span {
37- padding : 0 20 px ;
37+ padding : 0 15 px ;
3838 }
3939}
4040
Original file line number Diff line number Diff line change @@ -119,15 +119,13 @@ const ChallengeViewTabs = ({
119119 { isTask && challenge . status === 'Active' && (
120120 < div className = { styles . button } >
121121 { assignedMemberDetails ? (
122- < PrimaryButton
123- text = { 'Close Task' }
124- type = { 'danger' }
125- onClick = { onCloseTask }
126- />
122+ < Tooltip content = { MESSAGE . MARK_COMPLETE } >
123+ < PrimaryButton text = { 'Mark Complete' } type = { 'success' } onClick = { onCloseTask } />
124+ </ Tooltip >
127125 ) : (
128126 < Tooltip content = { MESSAGE . NO_TASK_ASSIGNEE } >
129127 { /* Don't disable button for real inside tooltip, otherwise mouseEnter/Leave events work not good */ }
130- < PrimaryButton text = { 'Close Task ' } type = { 'disabled' } />
128+ < PrimaryButton text = { 'Mark Complete ' } type = { 'disabled' } />
131129 </ Tooltip >
132130 ) }
133131 </ div >
You can’t perform that action at this time.
0 commit comments