diff --git a/src/components/projects/CreateProject.jsx b/src/components/projects/CreateProject.jsx index 04814de..e1e0073 100644 --- a/src/components/projects/CreateProject.jsx +++ b/src/components/projects/CreateProject.jsx @@ -7,6 +7,7 @@ import Button from '@material-ui/core/Button' import InputAdornment from '@material-ui/core/InputAdornment' import { withStyles } from '@material-ui/core/styles' import { withRouter } from "react-router-dom" +import useWindowSize from '@rehooks/window-size' import { uploadFilesToIpfs, pinToGateway, formatMedia, isWeb } from '../../utils/ipfs' import { FundingContext } from '../../context' import {ZERO_ADDRESS} from '../../utils/address' @@ -69,7 +70,10 @@ const styles = theme => ({ formButton: { gridColumnStart: '6', gridColumnEnd: '13', - height: '50px' + height: '50px', + [theme.breakpoints.down('md')]: { + marginTop: '5rem' + } }, textField: { gridColumnStart: '1', @@ -180,6 +184,8 @@ const addProjectSucessMsg = response => { const SubmissionSection = ({ classes, history }) => { const [uploads, setUploads] = useState({}) const { account, openSnackBar, prices } = useContext(FundingContext) + const windowSize = useWindowSize() + const isSmall = windowSize.innerWidth < 800 return ( { const usdValue = convertTokenAmountUsd(goalToken, goal, prices) return (
-
+
{ value={values.commitTime || ''} />
-
- +
+