fix: fix dropdown buttons z-index (#1431)

Closes #1430, Closes #1422
This commit is contained in:
Thaïs
2023-09-04 16:51:12 +02:00
committed by GitHub
parent 96a0f30e98
commit 8e22ffd021
7 changed files with 40 additions and 22 deletions

View File

@ -41,6 +41,11 @@ const StyledWrapper = styled.div`
width: 100%;
`;
const StyledBoardHeader = styled(BoardHeader)`
position: relative;
z-index: 1;
` as typeof BoardHeader;
export function EntityBoard({
boardOptions,
onColumnAdd,
@ -130,7 +135,7 @@ export function EntityBoard({
return (boardColumns?.length ?? 0) > 0 ? (
<StyledWrapper>
<BoardHeader
<StyledBoardHeader
viewName="All opportunities"
viewIcon={<IconList size={theme.icon.size.md} />}
availableSorts={boardOptions.sorts}