mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
wip: Saving work
This commit is contained in:
parent
b4304bd6ea
commit
4c20ed4361
@ -64,9 +64,9 @@ export default function CartModal({ cart }: { cart: Cart | undefined }) {
|
||||
leaveFrom="translate-x-0"
|
||||
leaveTo="translate-x-full"
|
||||
>
|
||||
<Dialog.Panel className="fixed bottom-0 right-0 top-0 flex h-full w-full flex-col border-l border-white/20 bg-dark p-6 text-white backdrop-blur-xl md:w-[390px]">
|
||||
<Dialog.Panel className="fixed bottom-0 right-0 top-0 flex h-full w-full flex-col border-l border-white/20 bg-dark p-6 font-sans text-white backdrop-blur-xl md:w-[390px]">
|
||||
<div className="flex items-center justify-between">
|
||||
<p className="text-lg font-semibold">My Cart</p>
|
||||
<p className="text-lg font-semibold">Cart</p>
|
||||
|
||||
<button aria-label="Close cart" onClick={closeCart}>
|
||||
<CloseCart />
|
||||
|
@ -18,7 +18,7 @@ const Price = ({
|
||||
currencyDisplay: 'narrowSymbol'
|
||||
}).format(parseFloat(amount))}`}
|
||||
<span
|
||||
className={clsx('font-multilingual ml-1 inline', currencyCodeClassName)}
|
||||
className={clsx('ml-1 inline font-sans', currencyCodeClassName)}
|
||||
>{`${currencyCode}`}</span>
|
||||
</p>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user