X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/aa0a2249b6bf5b3e5b69034dfa5fab4b809ae6ce..ef8180fa2f0b90b1656b1d8c7ef12bc6ea028a0a:/src/views-components/dialog-update/dialog-collection-update.tsx diff --git a/src/views-components/dialog-update/dialog-collection-update.tsx b/src/views-components/dialog-update/dialog-collection-update.tsx index 852dab1a..d77d10ff 100644 --- a/src/views-components/dialog-update/dialog-collection-update.tsx +++ b/src/views-components/dialog-update/dialog-collection-update.tsx @@ -13,28 +13,40 @@ import { CollectionStorageClassesField } from 'views-components/form-fields/collection-form-fields'; import { UpdateCollectionPropertiesForm } from 'views-components/collection-properties/update-collection-properties-form'; -import { FormGroup, FormLabel } from '@material-ui/core'; +import { FormGroup, FormLabel, StyleRulesCallback, withStyles, WithStyles } from '@material-ui/core'; import { resourcePropertiesList } from 'views-components/resource-properties/resource-properties-list'; +type CssRules = 'propertiesForm'; + +const styles: StyleRulesCallback = theme => ({ + propertiesForm: { + marginTop: theme.spacing.unit * 2, + marginBottom: theme.spacing.unit * 2, + }, +}); + type DialogCollectionProps = WithDialogProps<{}> & InjectedFormProps; export const DialogCollectionUpdate = (props: DialogCollectionProps) => ; const UpdateCollectionPropertiesList = resourcePropertiesList(COLLECTION_UPDATE_FORM_NAME); -const CollectionEditFields = () => - - - Properties - - - - - -; +const CollectionEditFields = withStyles(styles)( + ({ classes }: WithStyles) => + + +
+ Properties + + + + +
+ +
);