File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
src/shared/components/challenge-detail/Submissions Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 14
14
"lint:js" : " eslint --ext .js,.jsx ." ,
15
15
"lint:scss" : " stylelint **/*.scss --syntax scss" ,
16
16
"update-tests" : " npm run jest -- -u" ,
17
- "start" : " cross-env BABEL_ENV=production NODE_ENV=production node ./bin/www" ,
17
+ "start" : " cross-env BABEL_ENV=production NODE_ENV=production node --max-old-space-size=8192 ./bin/www" ,
18
18
"test" : " npm run lint && npm run --runInBand jest" ,
19
19
"commitlint" : " commitlint -E HUSKY_GIT_PARAMS" ,
20
20
"release:changelog" : " npm run conventional-changelog -- -p angular -i CHANGELOG.md -s" ,
Original file line number Diff line number Diff line change @@ -828,13 +828,15 @@ class SubmissionsComponent extends React.Component {
828
828
isMM && < div styleName = "bottom-line" />
829
829
}
830
830
{ isMM && (
831
- < Button
832
- disabled = { ! hasRegistered || unregistering || submissionEnded || isLegacyMM }
833
- theme = { { button : style . challengeAction } }
834
- to = { `${ challengesUrl } /${ challengeId } /submit` }
835
- >
836
- Add Submission
837
- </ Button >
831
+ < div styleName = "btn-add-submission" >
832
+ < Button
833
+ disabled = { ! hasRegistered || unregistering || submissionEnded || isLegacyMM }
834
+ theme = { { button : style . challengeAction } }
835
+ to = { `${ challengesUrl } /${ challengeId } /submit` }
836
+ >
837
+ Add Submission
838
+ </ Button >
839
+ </ div >
838
840
) }
839
841
{
840
842
isMM && isShowInformation && (
Original file line number Diff line number Diff line change 222
222
223
223
.container.dev {
224
224
line-height : 50px ;
225
- text-align : center ;
225
+ text-align : left ;
226
226
227
227
@include xs-to-sm {
228
228
line-height : 20px ;
275
275
}
276
276
}
277
277
278
+ .btn-add-submission {
279
+ text-align : center ;
280
+ }
281
+
278
282
.handle {
279
283
color : $tc-dark-blue ;
280
284
}
You can’t perform that action at this time.
0 commit comments