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

View File

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