From 47556496522d5845656ccbca140b294368cb64f4 Mon Sep 17 00:00:00 2001 From: MrOrz Date: Mon, 24 Jan 2022 02:35:16 +0800 Subject: [PATCH] [ActionMenu] button should not shrink on narrow screen --- components/ActionMenu/ActionMenu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ActionMenu/ActionMenu.js b/components/ActionMenu/ActionMenu.js index 39fa712d..e1a089fa 100644 --- a/components/ActionMenu/ActionMenu.js +++ b/components/ActionMenu/ActionMenu.js @@ -7,7 +7,8 @@ import cx from 'clsx'; const useStyles = makeStyles(theme => ({ button: { - minWidth: 0, + minWidth: 0, // Override material-ui style + flexShrink: 0, padding: '3px', color: ({ open }) => open ? theme.palette.primary[500] : theme.palette.secondary[500],