From bb2283c8ed0c3227e71d8b3700fceeec86998adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Tue, 18 Jun 2024 09:25:35 +0200 Subject: [PATCH] improve responsive button --- apps/dashboard/src/components/ui/button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/ui/button.tsx b/apps/dashboard/src/components/ui/button.tsx index dd20a43c..4aab1a3f 100644 --- a/apps/dashboard/src/components/ui/button.tsx +++ b/apps/dashboard/src/components/ui/button.tsx @@ -78,7 +78,7 @@ const Button = React.forwardRef( 'h-4 w-4 flex-shrink-0', loading && 'animate-spin', size !== 'icon' && responsive && 'mr-0 sm:mr-2', - size !== 'icon' && 'mr-2' + size !== 'icon' && !responsive && 'mr-2' )} /> )}