Unverified Commit 39364eac authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub

Merge pull request #2238 from paulkaplan/fix-form-styling

Fix form styling for project edit fields
parents d9fa1031 f133f293
......@@ -219,7 +219,10 @@ const PreviewPresentation = ({
<FormattedMessage id="project.instructionsLabel" />
</div>
{editable ?
<Formsy onKeyPress={onKeyPress}>
<Formsy
className="project-description-form"
onKeyPress={onKeyPress}
>
<InplaceInput
className={classNames(
'project-description-edit',
......@@ -252,7 +255,10 @@ const PreviewPresentation = ({
<FormattedMessage id="project.notesAndCreditsLabel" />
</div>
{editable ?
<Formsy onKeyPress={onKeyPress}>
<Formsy
className="project-description-form"
onKeyPress={onKeyPress}
>
<InplaceInput
className={classNames(
'project-description-edit',
......
......@@ -337,6 +337,12 @@ $stage-width: 480px;
margin-bottom: 0;
}
.project-description-form {
display: flex;
width: 100%;
flex-grow: 1;
}
.project-description-edit {
display: flex;
margin-bottom: .75rem;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment