fix(devui): increase z-index of select menu to appear above editor

This commit is contained in:
Nathan Bierema 2021-09-05 15:39:43 -04:00
parent 5fb8f02add
commit 3552b5017d
2 changed files with 5 additions and 1 deletions

View File

@ -73,6 +73,10 @@ export class Select<
borderColor: props.theme.colors.neutral10, borderColor: props.theme.colors.neutral10,
}, },
}), }),
menu: (base) => ({
...base,
zIndex: 10,
}),
}} }}
/> />
); );

View File

@ -128,7 +128,7 @@ export default class TestTab<S, A extends Action<unknown>> extends Component<
return ( return (
<Container> <Container>
<Toolbar> <Toolbar>
<div style={{ flexGrow: 1, zIndex: 10 }}> <div style={{ flexGrow: 1 }}>
<Select <Select
options={templates} options={templates}
getOptionValue={(template: Template) => template.name!} getOptionValue={(template: Template) => template.name!}