Skip to content

Commit 704d32c

Browse files
authored
fix(protocol-designer): add overflow-y and max-height to liquids overflow menu (#17057)
* fix(protocol-designer): add overflow-y and max-height to liquids overflow menu
1 parent 67de4f4 commit 704d32c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

protocol-designer/src/pages/Designer/LiquidsOverflowMenu.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Icon,
1414
LiquidIcon,
1515
MenuItem,
16+
OVERFLOW_AUTO,
1617
POSITION_ABSOLUTE,
1718
SPACING,
1819
StyledText,
@@ -58,6 +59,8 @@ export function LiquidsOverflowMenu(
5859
e.stopPropagation()
5960
}}
6061
width="9.375rem"
62+
maxHeight="18.75rem"
63+
overflowY={OVERFLOW_AUTO}
6164
>
6265
{liquids.map(({ name, displayColor, ingredientId }) => {
6366
return (

0 commit comments

Comments
 (0)