diff --git a/openbis_ng_ui/src/js/components/types/objectType/ObjectType.jsx b/openbis_ng_ui/src/js/components/types/objectType/ObjectType.jsx index 6ac80111e6609176597d704668b9ee0f4db51443..76ec71f03ae37a250dd8fa6518e126d6e5aca400 100644 --- a/openbis_ng_ui/src/js/components/types/objectType/ObjectType.jsx +++ b/openbis_ng_ui/src/js/components/types/objectType/ObjectType.jsx @@ -513,6 +513,10 @@ class ObjectType extends React.PureComponent { </div> </div> <Resizable + defaultSize={{ + width: 400, + height: 'auto' + }} enable={{ left: true, top: false, diff --git a/openbis_ng_ui/src/js/components/types/objectType/ObjectTypeParameters.jsx b/openbis_ng_ui/src/js/components/types/objectType/ObjectTypeParameters.jsx index 6eeabc6918c48627d4e7695b4096bdf23ddb714c..abfe8821f347eaf604d48c1e44d180f3dee5d80b 100644 --- a/openbis_ng_ui/src/js/components/types/objectType/ObjectTypeParameters.jsx +++ b/openbis_ng_ui/src/js/components/types/objectType/ObjectTypeParameters.jsx @@ -5,11 +5,7 @@ import ObjectTypeParametersProperty from './ObjectTypeParametersProperty.jsx' import ObjectTypeParametersSection from './ObjectTypeParametersSection.jsx' import logger from '../../../common/logger.js' -const styles = () => ({ - container: { - minWidth: '400px' - } -}) +const styles = () => ({}) class ObjectTypeParameters extends React.PureComponent { constructor(props) { @@ -25,12 +21,11 @@ class ObjectTypeParameters extends React.PureComponent { properties, selection, onChange, - onSelectionChange, - classes + onSelectionChange } = this.props return ( - <div className={classes.container}> + <div> <ObjectTypeParametersType type={type} selection={selection}