Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jan 15, 2025
1 parent 9feee26 commit 5ea4660
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/src/atoms/MenuList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const MenuList = forwardRef<HTMLDivElement, MenuListProps>(
top = '2.6rem',
right = `calc(50% + ${SPACING.spacing4})`,
width = FLEX_MAX_CONTENT,
zIndex = 10,
...restProps
} = props
return isOnDevice ? (
Expand All @@ -48,7 +49,7 @@ export const MenuList = forwardRef<HTMLDivElement, MenuListProps>(
) : (
<Flex
borderRadius={BORDERS.borderRadius8}
zIndex={12}
zIndex={zIndex}
boxShadow="0px 1px 3px rgba(0, 0, 0, 0.2)"
position={POSITION_ABSOLUTE}
backgroundColor={COLORS.white}
Expand Down
2 changes: 0 additions & 2 deletions protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
MenuItem,
MenuList,
OVERFLOW_AUTO,
POSITION_ABSOLUTE,
SPACING,
StyledText,
TYPOGRAPHY,
Expand Down Expand Up @@ -44,7 +43,6 @@ export function LiquidsOverflowMenu(
const dispatch: ThunkDispatch<any> = useDispatch()
return (
<MenuList
position={POSITION_ABSOLUTE}
zIndex={12}
right={location.pathname === '/liquids' ? SPACING.spacing12 : '3.125rem'}
top={`calc(${NAV_HEIGHT} - 6px)`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export function StepOverflowMenu(props: StepOverflowMenuProps): JSX.Element {
return (
<>
<MenuList
zIndex={12}
ref={menuRootRef}
top={top}
left="18.75rem"
Expand Down

0 comments on commit 5ea4660

Please sign in to comment.