Commit e5a6ce7c authored by PDuarte's avatar PDuarte

min width proj selector

parent 78b82b37
...@@ -56,8 +56,9 @@ const SelectProject = props => { ...@@ -56,8 +56,9 @@ const SelectProject = props => {
} }
}, [store.allDataProjects]) }, [store.allDataProjects])
return <Fragment> return <div style={{minWidth: '120px'}}>
{ dataProject.length > 0 ? <AsyncSelect { dataProject.length > 0 ? <AsyncSelect
placeholder="Project"
isClearable={false} isClearable={false}
className='react-select' className='react-select'
classNamePrefix='select' classNamePrefix='select'
...@@ -68,7 +69,7 @@ return <Fragment> ...@@ -68,7 +69,7 @@ return <Fragment>
onChange={handleChange} onChange={handleChange}
theme={selectThemeColors} theme={selectThemeColors}
/> : <div>Loading...</div> } /> : <div>Loading...</div> }
</Fragment> </div>
} }
export default SelectProject export default SelectProject
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment