mirror of
https://github.com/vercel/commerce.git
synced 2025-06-01 05:56:58 +00:00
Increase tap area for button
This commit is contained in:
parent
0f38ca644e
commit
e3437f0e5c
@ -12,7 +12,7 @@ function SubmitButton({ type }: { type: 'plus' | 'minus' }) {
|
||||
type="submit"
|
||||
aria-label={type === 'plus' ? 'Increase item quantity' : 'Reduce item quantity'}
|
||||
className={clsx(
|
||||
'ease flex h-full min-w-[36px] max-w-[36px] flex-none items-center justify-center rounded-full px-2 transition-all duration-200 hover:border-neutral-800 hover:opacity-80',
|
||||
'ease flex h-full min-w-[36px] max-w-[36px] flex-none items-center justify-center rounded-full p-2 transition-all duration-200 hover:border-neutral-800 hover:opacity-80',
|
||||
{
|
||||
'ml-auto': type === 'minus'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user