Skip to content

Commit

Permalink
fix(protocol-designer): add overflow-y and max-height to liquids over…
Browse files Browse the repository at this point in the history
…flow menu (#17057)

* fix(protocol-designer): add overflow-y and max-height to liquids overflow menu
  • Loading branch information
koji authored Dec 6, 2024
1 parent 67de4f4 commit 704d32c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
Icon,
LiquidIcon,
MenuItem,
OVERFLOW_AUTO,
POSITION_ABSOLUTE,
SPACING,
StyledText,
Expand Down Expand Up @@ -58,6 +59,8 @@ export function LiquidsOverflowMenu(
e.stopPropagation()
}}
width="9.375rem"
maxHeight="18.75rem"
overflowY={OVERFLOW_AUTO}
>
{liquids.map(({ name, displayColor, ingredientId }) => {
return (
Expand Down

0 comments on commit 704d32c

Please sign in to comment.