From 486d4d2abb7329ea90fb31b9901c767d69b4ef37 Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Wed, 28 Nov 2018 12:48:59 +0100 Subject: [PATCH] Add margin to CollectionTagForm Feature #14393 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- src/views/collection-panel/collection-tag-form.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/collection-panel/collection-tag-form.tsx b/src/views/collection-panel/collection-tag-form.tsx index 04e37f2b..fd4f0880 100644 --- a/src/views/collection-panel/collection-tag-form.tsx +++ b/src/views/collection-panel/collection-tag-form.tsx @@ -5,6 +5,9 @@ import { reduxForm, reset } from 'redux-form'; import { createCollectionTag, COLLECTION_TAG_FORM_NAME } from '~/store/collection-panel/collection-panel-action'; import { ResourcePropertiesForm, ResourcePropertiesFormData } from '~/views-components/resource-properties-form/resource-properties-form'; +import { withStyles } from '@material-ui/core'; + +const Form = withStyles(({ spacing }) => ({ container: { marginBottom: spacing.unit * 2 } }))(ResourcePropertiesForm); export const CollectionTagForm = reduxForm({ form: COLLECTION_TAG_FORM_NAME, @@ -12,4 +15,4 @@ export const CollectionTagForm = reduxForm({ dispatch(createCollectionTag(data)); dispatch(reset(COLLECTION_TAG_FORM_NAME)); } -})(ResourcePropertiesForm); +})(Form); -- 2.30.2