Skip to content

Commit dcf4d9e

Browse files
committed
Change the minW of the MenuList to allow it to be smaller than it usually is
1 parent 28a4f35 commit dcf4d9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/chakra-components/menu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export const MenuList = <
8080

8181
const initialSx: SystemStyleObject = {
8282
...menuStyles.list,
83+
minW: "100%",
8384
maxHeight: `${maxHeight}px`,
8485
overflowY: "auto",
8586
borderRadius: inputStyles.field?.borderRadius,

0 commit comments

Comments
 (0)