[ARVADOS-WORKBENCH2] created: 1.2.0-339-g4b157f9
Git user
git at public.curoverse.com
Mon Sep 10 07:21:09 EDT 2018
at 4b157f90c3cb632e911cf5bd4fd2e364940183d9 (commit)
commit 4b157f90c3cb632e911cf5bd4fd2e364940183d9
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date: Mon Sep 10 13:20:49 2018 +0200
14183-layout-can-be-altered-when-accessing-creating-a-collection-with-selected
Feature #14183
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
diff --git a/src/views-components/dialog-copy/dialog-collection-partial-copy.tsx b/src/views-components/dialog-copy/dialog-collection-partial-copy.tsx
index 7fc301f..6aae2d6 100644
--- a/src/views-components/dialog-copy/dialog-collection-partial-copy.tsx
+++ b/src/views-components/dialog-copy/dialog-collection-partial-copy.tsx
@@ -8,6 +8,7 @@ import { CollectionNameField, CollectionDescriptionField, CollectionProjectPicke
import { WithDialogProps } from '~/store/dialog/with-dialog';
import { InjectedFormProps } from 'redux-form';
import { CollectionPartialCopyFormData } from '~/store/collections/collection-partial-copy-actions';
+import { Grid } from '@material-ui/core';
type DialogCollectionPartialCopyProps = WithDialogProps<string> & InjectedFormProps<CollectionPartialCopyFormData>;
@@ -19,10 +20,11 @@ export const DialogCollectionPartialCopy = (props: DialogCollectionPartialCopyPr
{...props}
/>;
-export const CollectionPartialCopyFields = () => <div style={{ display: 'flex' }}>
- <div>
- <CollectionNameField />
- <CollectionDescriptionField />
- </div>
- <CollectionProjectPickerField />
-</div>;
+export const CollectionPartialCopyFields = () =>
+ <Grid container direction={"row"}>
+ <Grid item xs={12}>
+ <CollectionNameField />
+ <CollectionDescriptionField />
+ <CollectionProjectPickerField />
+ </Grid>
+ </Grid>;
diff --git a/src/views-components/form-fields/collection-form-fields.tsx b/src/views-components/form-fields/collection-form-fields.tsx
index af240fc..ddd5bce 100644
--- a/src/views-components/form-fields/collection-form-fields.tsx
+++ b/src/views-components/form-fields/collection-form-fields.tsx
@@ -29,6 +29,6 @@ export const CollectionProjectPickerField = () =>
validate={COLLECTION_PROJECT_VALIDATION} />;
const ProjectPicker = (props: WrappedFieldProps) =>
- <div style={{ width: '400px', height: '144px', display: 'flex', flexDirection: 'column' }}>
+ <div style={{ height: '144px', display: 'flex', flexDirection: 'column' }}>
<ProjectTreePicker onChange={projectUuid => props.input.onChange(projectUuid)} />
</div>;
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list