Commit f133f293 authored by Paul Kaplan's avatar Paul Kaplan

Fix form styling for project edit fields

parent d9fa1031
...@@ -219,7 +219,10 @@ const PreviewPresentation = ({ ...@@ -219,7 +219,10 @@ const PreviewPresentation = ({
<FormattedMessage id="project.instructionsLabel" /> <FormattedMessage id="project.instructionsLabel" />
</div> </div>
{editable ? {editable ?
<Formsy onKeyPress={onKeyPress}> <Formsy
className="project-description-form"
onKeyPress={onKeyPress}
>
<InplaceInput <InplaceInput
className={classNames( className={classNames(
'project-description-edit', 'project-description-edit',
...@@ -252,7 +255,10 @@ const PreviewPresentation = ({ ...@@ -252,7 +255,10 @@ const PreviewPresentation = ({
<FormattedMessage id="project.notesAndCreditsLabel" /> <FormattedMessage id="project.notesAndCreditsLabel" />
</div> </div>
{editable ? {editable ?
<Formsy onKeyPress={onKeyPress}> <Formsy
className="project-description-form"
onKeyPress={onKeyPress}
>
<InplaceInput <InplaceInput
className={classNames( className={classNames(
'project-description-edit', 'project-description-edit',
......
...@@ -337,6 +337,12 @@ $stage-width: 480px; ...@@ -337,6 +337,12 @@ $stage-width: 480px;
margin-bottom: 0; margin-bottom: 0;
} }
.project-description-form {
display: flex;
width: 100%;
flex-grow: 1;
}
.project-description-edit { .project-description-edit {
display: flex; display: flex;
margin-bottom: .75rem; 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