const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
pickerHeight: {
- height: "calc(70vh - 100px)"
+ height: "100%",
+ display: "flex",
+ flexDirection: "column",
},
searchFlex: {
display: "flex",
paddingBottom: "1em"
},
scrolledBox: {
- height: "calc(100% - 50px)",
overflow: "scroll"
}
});
};
return <div className={this.props.classes.pickerHeight} >
<span className={this.props.classes.searchFlex}>
- <SearchInput value="" label="Search for a Project" selfClearProp='' onSearch={onProjectSearch} debounce={200} />
+ <SearchInput value="" label="Search for a Project" selfClearProp='' onSearch={onProjectSearch} debounce={500} />
{this.props.includeCollections &&
- <SearchInput value="" label="Filter Collections list in Projects" selfClearProp='' onSearch={onCollectionFilter} debounce={200} />}
+ <SearchInput value="" label="Filter Collections list in Projects" selfClearProp='' onSearch={onCollectionFilter} debounce={500} />}
</span>
<div className={this.props.classes.scrolledBox}>