Skip to content

Commit

Permalink
Move z-index styles to inner wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Aug 28, 2024
1 parent 610b141 commit 788066b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/dropdown-menu-v2/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ export const MenuPopoverOuterWrapper = styled.div<
Pick< DropdownMenuContext, 'variant' >
>`
position: relative;
/* Same as popover component */
/* TODO: is there a way to read the sass variable? */
z-index: 1000000;
background-color: ${ COLORS.ui.background };
border-radius: ${ CONFIG.radiusMedium };
Expand Down Expand Up @@ -103,6 +100,9 @@ export const MenuPopoverOuterWrapper = styled.div<

export const MenuPopoverInnerWrapper = styled.div`
position: relative;
/* Same as popover component */
/* TODO: is there a way to read the sass variable? */
z-index: 1000000;
display: grid;
grid-template-columns: ${ GRID_TEMPLATE_COLS };
Expand Down

0 comments on commit 788066b

Please sign in to comment.