mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
Fix button style
This commit is contained in:
parent
f5c218193b
commit
95a4bee79e
@ -28,7 +28,7 @@ const UserNav: FC<Props> = ({ className }) => {
|
|||||||
<ul className={s.list}>
|
<ul className={s.list}>
|
||||||
{process.env.COMMERCE_CART_ENABLED && (
|
{process.env.COMMERCE_CART_ENABLED && (
|
||||||
<li className={s.item}>
|
<li className={s.item}>
|
||||||
<Button variant="naked" onClick={toggleSidebar} aria-label="Cart">
|
<Button className={s.item} variant="naked" onClick={toggleSidebar} aria-label="Cart">
|
||||||
<Bag />
|
<Bag />
|
||||||
</Button>
|
</Button>
|
||||||
{itemsCount > 0 && <span className={s.bagCount}>{itemsCount}</span>}
|
{itemsCount > 0 && <span className={s.bagCount}>{itemsCount}</span>}
|
||||||
|
@ -36,12 +36,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.naked {
|
.naked {
|
||||||
@apply bg-white text-gray-800 font-semibold border-none shadow-none outline-none py-0 px-0;
|
@apply bg-transparent font-semibold border-none shadow-none outline-none py-0 px-0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.naked:hover,
|
.naked:hover,
|
||||||
.naked:focus {
|
.naked:focus {
|
||||||
@apply bg-white border-none;
|
@apply bg-transparent border-none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabled,
|
.disabled,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user