fix alignment

This commit is contained in:
Barry Gitarts 2019-08-29 14:47:02 -04:00 committed by Barry G
parent 615e715b14
commit dfbe87f934
3 changed files with 6 additions and 3 deletions

View File

@ -47,7 +47,7 @@ const formatAccount = account => {
const useStyles = makeStyles(theme => ({ const useStyles = makeStyles(theme => ({
root: { root: {
display: 'flex', display: 'flex'
}, },
appBar: { appBar: {
transition: theme.transitions.create(['margin', 'width'], { transition: theme.transitions.create(['margin', 'width'], {

View File

@ -46,7 +46,7 @@ const addProjectSucessMsg = response => {
const { events: { ProjectAdded: { returnValues: { idProject } } } } = response const { events: { ProjectAdded: { returnValues: { idProject } } } } = response
return `Project created with ID of ${idProject}, will redirect to your new project page in a few seconds` return `Project created with ID of ${idProject}, will redirect to your new project page in a few seconds`
} }
const STEPS = ['Connect', 'Authorize Amount', 'Fund', 'Confirmation'] const STEPS = ['Connect', 'Authorize Amount', 'Fund', 'Confirm']
const buttonText = ['Connect', 'Authorize Amount', 'Fund', 'Awaiting Confirmation', 'Confirmed'] const buttonText = ['Connect', 'Authorize Amount', 'Fund', 'Awaiting Confirmation', 'Confirmed']
function stepperProgress(values, projectData, submissionState) { function stepperProgress(values, projectData, submissionState) {
if (submissionState === CONFIRMED) return IS_CONFIRMED if (submissionState === CONFIRMED) return IS_CONFIRMED

View File

@ -57,6 +57,9 @@ const styles = theme => ({
gridColumnStart: '1', gridColumnStart: '1',
gridColumnEnd: '13', gridColumnEnd: '13',
gridRowGap: '2ch', gridRowGap: '2ch',
[theme.breakpoints.up('md')]: {
margin: '0rem 5rem 0rem 3rem'
}
}, },
edit: { edit: {
gridColumnStart: 12, gridColumnStart: 12,
@ -127,7 +130,7 @@ const styles = theme => ({
gridColumn: '1 / 13', gridColumn: '1 / 13',
height: 'fit-content', height: 'fit-content',
[theme.breakpoints.up('md')]: { [theme.breakpoints.up('md')]: {
gridColumn: '8 / 13', gridColumn: '9 / 13',
gridTemplateRows: '9rem' gridTemplateRows: '9rem'
} }
}, },