From 970043467cdf7c0d8a2f4563efae98d38657d235 Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 27 Jun 2023 08:21:05 +0200 Subject: [PATCH] make sure there's enough room to show all buttons --- commafeed-client/src/components/ActionButtton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commafeed-client/src/components/ActionButtton.tsx b/commafeed-client/src/components/ActionButtton.tsx index 62ef4a66..3c5256c4 100644 --- a/commafeed-client/src/components/ActionButtton.tsx +++ b/commafeed-client/src/components/ActionButtton.tsx @@ -20,7 +20,7 @@ interface ActionButtonProps { export const ActionButton = forwardRef((props: ActionButtonProps, ref) => { const theme = useMantineTheme() const variant = props.variant ?? "subtle" - const mobile = useMobile(theme.breakpoints.xl) + const mobile = useMobile("1600px") const iconOnly = (mobile && !props.showLabelOnMobile) || (!mobile && props.hideLabelOnDesktop) return iconOnly ? (