leap: add rounded corners to results panel

Fixes #3330.
This commit is contained in:
Matilde Park 2020-08-17 12:42:46 -04:00
parent dd780d1ff9
commit 4894fa2cca

View File

@ -192,7 +192,13 @@ export class Omnibox extends Component {
renderResults() {
const { props, state } = this;
return <Box maxHeight="400px" overflowY="scroll" overflowX="hidden">
return <Box
maxHeight="400px"
overflowY="scroll"
overflowX="hidden"
borderBottomLeftRadius='2'
borderBottomRightRadius='2'
>
{this.getSearchedCategories()
.map(category => Object({ category, categoryResults: state.results.get(category) }))
.filter(category => category.categoryResults.length > 0)