improve responsive button

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-06-18 09:25:35 +02:00
parent 5f6966b092
commit bb2283c8ed

View File

@@ -78,7 +78,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
'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'
)}
/>
)}