Fix z-index issue on dropdown (#6160)
Recently, we've forced all dropdown menu to be displayed in portal. This loses the z-index hieararchy structure and forces us to specify a higher z-index in order for dropdown menus to be displayed on top
This commit is contained in:
@ -24,7 +24,7 @@ const StyledDropdownMenu = styled.div<{
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
z-index: 1;
|
z-index: 30;
|
||||||
width: ${({ width = 160 }) =>
|
width: ${({ width = 160 }) =>
|
||||||
typeof width === 'number' ? `${width}px` : width};
|
typeof width === 'number' ? `${width}px` : width};
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user