Fix button style

This commit is contained in:
Federico Orlandau 2021-07-30 13:50:27 +02:00
parent f5c218193b
commit 95a4bee79e
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ const UserNav: FC<Props> = ({ className }) => {
<ul className={s.list}>
{process.env.COMMERCE_CART_ENABLED && (
<li className={s.item}>
<Button variant="naked" onClick={toggleSidebar} aria-label="Cart">
<Button className={s.item} variant="naked" onClick={toggleSidebar} aria-label="Cart">
<Bag />
</Button>
{itemsCount > 0 && <span className={s.bagCount}>{itemsCount}</span>}

View File

@ -36,12 +36,12 @@
}
.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:focus {
@apply bg-white border-none;
@apply bg-transparent border-none;
}
.disabled,