mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
yolo: height of inline add to cart button fixed
This commit is contained in:
parent
35902421ec
commit
746e707290
@ -54,7 +54,7 @@ export function InlineAddToCart({
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'p-4',
|
'h-[56px] p-4',
|
||||||
'relative flex w-full items-center justify-center',
|
'relative flex w-full items-center justify-center',
|
||||||
'border border-white/20 hover:border-white',
|
'border border-white/20 hover:border-white',
|
||||||
'font-serif text-base tracking-wider text-white',
|
'font-serif text-base tracking-wider text-white',
|
||||||
@ -68,7 +68,7 @@ export function InlineAddToCart({
|
|||||||
{!isPending ? (
|
{!isPending ? (
|
||||||
<span>{availableForSale ? t('cart.add') : t('cart.out-of-stock')}</span>
|
<span>{availableForSale ? t('cart.add') : t('cart.out-of-stock')}</span>
|
||||||
) : (
|
) : (
|
||||||
<LoadingDots className="my-3 bg-white" />
|
<LoadingDots className="bg-white" />
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user