adjust full description initial size

This commit is contained in:
Barry Gitarts 2019-08-22 15:06:00 -04:00 committed by Barry G
parent 35a39fa10d
commit 69e3430215
2 changed files with 3 additions and 18 deletions

View File

@ -34,7 +34,7 @@ const styles = theme => ({
gridColumnStart: 1,
gridColumnEnd: 13,
marginTop: theme.spacing.unit * 3,
paddingRight: '24px'
paddingRight: '1.2em'
},
},
input: {
@ -64,8 +64,7 @@ const styles = theme => ({
},
topRight: {
gridRowStart: 1,
gridColumnStart: 11,
gridColumnEnd: 12
gridColumnStart: 12,
}
})

View File

@ -3,8 +3,6 @@ import { Formik } from 'formik'
import classnames from 'classnames'
import ReactMarkdown from 'react-markdown'
import LiquidPledging from '../../embarkArtifacts/contracts/LiquidPledging'
import FormControlLabel from '@material-ui/core/FormControlLabel'
import Switch from '@material-ui/core/Switch'
import Button from '@material-ui/core/Button'
import InputAdornment from '@material-ui/core/InputAdornment'
import { withStyles } from '@material-ui/core/styles'
@ -337,18 +335,6 @@ const SubmissionSection = ({ classes, history }) => {
onBlur={handleBlur}
value={values.media || ''}
/>
<FormControlLabel
className={classes.formControl}
control={
<Switch
id="isPlaying"
checked={values.isPlaying}
onChange={handleChange}
value={values.isPlaying}
/>
}
label="Autoplay media?"
/>
{status && status.showPreview &&
<div className={classnames(classes.markdown, fullWidth)}>
<div
@ -370,7 +356,7 @@ const SubmissionSection = ({ classes, history }) => {
{(!status || !status.showPreview) && <StatusTextField
className={fullWidth}
InputProps={{
style: { height: '100%' }
style: { height: '10em' }
}}
idFor="Full description"
name="description"