From df1f5e8f333bcebf91ae8290a6d7006915f31064 Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Wed, 28 Aug 2019 11:59:00 -0400 Subject: [PATCH] align funding goal with halfRows --- src/components/projects/CreateProject.jsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/projects/CreateProject.jsx b/src/components/projects/CreateProject.jsx index e6f5646..37b76e2 100644 --- a/src/components/projects/CreateProject.jsx +++ b/src/components/projects/CreateProject.jsx @@ -91,11 +91,13 @@ const styles = theme => ({ firstHalf: { display: 'grid', gridTemplateColumns: 'repeat(12, [col] 1fr)', - gridTemplateRows: '7rem', gridRowGap: '2rem', gridColumnStart: '1', gridColumnEnd: '8', }, + halfsRows: { + gridTemplateRows: '7rem 5em auto' + }, chatRoom: { display: 'grid', gridColumnStart: 1, @@ -116,7 +118,6 @@ const styles = theme => ({ secondHalf: { display: 'grid', gridTemplateColumns: 'repeat(12, [col] 1fr)', - gridTemplateRows: '7rem', gridRowGap: '2rem', gridColumnStart: '10', gridColumnEnd: '13', @@ -251,12 +252,12 @@ const SubmissionSection = ({ classes, history }) => { status, isSubmitting }) => { - const { firstHalf, secondHalf, fullWidth } = classes + const { firstHalf, secondHalf, fullWidth, halfsRows } = classes const { goalToken, goal } = values const usdValue = convertTokenAmountUsd(goalToken, goal, prices) return (
-
{ isRequired={true} idFor="Project Name" name="title" - label="Project Name" + label="Name" bottomRightLabel="Max 20" bottomRightError={touched.title && errors.title === TOO_LONG} errorBorder={touched.title && errors.title === REQUIRED} @@ -407,7 +408,7 @@ const SubmissionSection = ({ classes, history }) => { } />}
-