adjust layouts more with figma
This commit is contained in:
parent
c19363dedc
commit
420fe69db4
|
@ -51,9 +51,6 @@ const styles = theme => ({
|
||||||
gridColumnGap: '1em',
|
gridColumnGap: '1em',
|
||||||
gridRowGap: '3ch',
|
gridRowGap: '3ch',
|
||||||
fontFamily: theme.typography.fontFamily,
|
fontFamily: theme.typography.fontFamily,
|
||||||
[theme.breakpoints.up('sm')]: {
|
|
||||||
margin: '1.75rem 4.5rem'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
display: 'grid',
|
display: 'grid',
|
||||||
|
@ -119,7 +116,7 @@ const styles = theme => ({
|
||||||
display: 'grid',
|
display: 'grid',
|
||||||
gridTemplateColumns: 'repeat(12, [col] 1fr)',
|
gridTemplateColumns: 'repeat(12, [col] 1fr)',
|
||||||
gridRowGap: '2rem',
|
gridRowGap: '2rem',
|
||||||
gridColumnStart: '10',
|
gridColumnStart: '9',
|
||||||
gridColumnEnd: '13',
|
gridColumnEnd: '13',
|
||||||
height: 'fit-content'
|
height: 'fit-content'
|
||||||
},
|
},
|
||||||
|
@ -137,6 +134,12 @@ const styles = theme => ({
|
||||||
fullWidth: {
|
fullWidth: {
|
||||||
gridColumn: '1 / 13'
|
gridColumn: '1 / 13'
|
||||||
},
|
},
|
||||||
|
threeFourthWidth: {
|
||||||
|
gridColumn: '1 / 10',
|
||||||
|
[theme.breakpoints.down('sm')]: {
|
||||||
|
gridColumn: '1 / 13'
|
||||||
|
}
|
||||||
|
},
|
||||||
breadCrumb: {
|
breadCrumb: {
|
||||||
color: '#939BA1'
|
color: '#939BA1'
|
||||||
},
|
},
|
||||||
|
@ -413,9 +416,9 @@ const SubmissionSection = ({ classes, history }) => {
|
||||||
})}>
|
})}>
|
||||||
<Button type="submit" disabled={!isEmpty(errors)} color="primary" variant="contained" className={classnames(classes.formButton, {
|
<Button type="submit" disabled={!isEmpty(errors)} color="primary" variant="contained" className={classnames(classes.formButton, {
|
||||||
[classes.fullWidth]: isSmall
|
[classes.fullWidth]: isSmall
|
||||||
})}>{isSubmitting ? 'Ethereum Submission In Progress' : 'Publish'}</Button>
|
})}>{isSubmitting ? 'Awaiting confirmations' : 'Publish'}</Button>
|
||||||
<CurrencySelect
|
<CurrencySelect
|
||||||
className={fullWidth}
|
className={classes.threeFourthWidth}
|
||||||
InputProps={{
|
InputProps={{
|
||||||
classes: {
|
classes: {
|
||||||
input: classes.textInput
|
input: classes.textInput
|
||||||
|
@ -428,7 +431,7 @@ const SubmissionSection = ({ classes, history }) => {
|
||||||
value={values.goalToken}
|
value={values.goalToken}
|
||||||
/>
|
/>
|
||||||
<StatusTextField
|
<StatusTextField
|
||||||
className={fullWidth}
|
className={classnames(classes.threeFourthWidth)}
|
||||||
isRequired={true}
|
isRequired={true}
|
||||||
multiline={true}
|
multiline={true}
|
||||||
idFor="goal"
|
idFor="goal"
|
||||||
|
|
Loading…
Reference in New Issue