15557: Increase tree picker default height for dialog
authorStephen Smith <stephen@curii.com>
Mon, 23 Jan 2023 22:57:10 +0000 (17:57 -0500)
committerStephen Smith <stephen@curii.com>
Mon, 23 Jan 2023 22:57:10 +0000 (17:57 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views-components/projects-tree-picker/tree-picker-field.tsx

index 357058c54bf1c1d6564044b8159b2f47d2cc3282..2afa606e363cba8a4adaaf2b118c581af2981719 100644 (file)
@@ -12,7 +12,7 @@ import { PickerIdProp } from 'store/tree-picker/picker-id';
 
 export const ProjectTreePickerField = (props: WrappedFieldProps & PickerIdProp) =>
     <div style={{ display: 'flex', minHeight: 0, flexDirection: 'column' }}>
-        <div style={{ flexBasis: '200px', flexShrink: 1, minHeight: 0, display: 'flex', flexDirection: 'column' }}>
+        <div style={{ flexBasis: '275px', flexShrink: 1, minHeight: 0, display: 'flex', flexDirection: 'column' }}>
             <ProjectsTreePicker
                 pickerId={props.pickerId}
                 toggleItemActive={handleChange(props)}
@@ -30,7 +30,7 @@ const handleChange = (props: WrappedFieldProps) =>
 
 export const CollectionTreePickerField = (props: WrappedFieldProps & PickerIdProp) =>
     <div style={{ display: 'flex', minHeight: 0, flexDirection: 'column' }}>
-        <div style={{ flexBasis: '200px', flexShrink: 1, minHeight: 0, display: 'flex', flexDirection: 'column' }}>
+        <div style={{ flexBasis: '275px', flexShrink: 1, minHeight: 0, display: 'flex', flexDirection: 'column' }}>
             <ProjectsTreePicker
                 pickerId={props.pickerId}
                 toggleItemActive={handleChange(props)}