Skip to content

Commit

Permalink
Increase Back / Submit Button Sizes
Browse files Browse the repository at this point in the history
We could add a 'Cancel' button to the
Submission Chooser page, but it makes
the page look a bit off - not exactly
that aesthetically pleasing.

Since you can click on the Nav Bar
to get back to the homepage, I think
it's fine to not add another button.
  • Loading branch information
billdybas committed Feb 10, 2018
1 parent 7b9de11 commit d30134f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Student/components/OtherMediaSubmissionForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,15 @@ class OtherSubmissionForm extends Component {
<Button
type='button'
color='danger'
style={{cursor: 'pointer', width: '80px'}}
style={{cursor: 'pointer', width: '150px'}}
>
Back
</Button>
</Link>
<Button
type='submit'
color='primary'
style={{cursor: 'pointer', float: 'right', width: '80px'}}
style={{cursor: 'pointer', float: 'right', width: '150px'}}
disabled={isSubmitting}
>
Submit
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/Student/components/PhotoSubmissionForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,15 +421,15 @@ class PhotoSubmissionForm extends Component {
<Button
type='button'
color='danger'
style={{cursor: 'pointer', width: '80px'}}
style={{cursor: 'pointer', width: '150px'}}
>
Back
</Button>
</Link>
<Button
type='submit'
color='primary'
style={{cursor: 'pointer', float: 'right', width: '80px'}}
style={{cursor: 'pointer', float: 'right', width: '150px'}}
disabled={isSubmitting}
>
Submit
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/Student/components/VideoSubmissionForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,15 @@ class VideoSubmissionForm extends Component {
<Button
type='button'
color='danger'
style={{cursor: 'pointer', width: '80px'}}
style={{cursor: 'pointer', width: '150px'}}
>
Back
</Button>
</Link>
<Button
type='submit'
color='primary'
style={{cursor: 'pointer', float: 'right', width: '80px'}}
style={{cursor: 'pointer', float: 'right', width: '150px'}}
disabled={isSubmitting}
>
Submit
Expand Down

0 comments on commit d30134f

Please sign in to comment.