Skip to content

Commit 58ca3eb

Browse files
authored
fix(core): on hover bg for buttons in shipping estimator (#668)
1 parent 51a2b64 commit 58ca3eb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/tall-crabs-leave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bigcommerce/catalyst-core": patch
3+
---
4+
5+
Fix on hover style for buttons in Shipping Estimator

apps/core/app/[locale]/(default)/cart/_components/shipping-estimator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ShippingEstimator = ({
4242
<p className="inline-flex gap-2">
4343
<span className="text-base">{shippingCosts.selectedShippingOption}</span>
4444
<Button
45-
className="w-fit p-0 text-base text-primary"
45+
className="w-fit p-0 text-base text-primary hover:bg-transparent"
4646
onClick={() => setIsOpened((open) => !open)}
4747
variant="subtle"
4848
>
@@ -68,7 +68,7 @@ export const ShippingEstimator = ({
6868
<div className="inline-flex items-center justify-between">
6969
<span className="text-base font-semibold">{t('shippingCost')}</span>
7070
<Button
71-
className="w-fit p-0 text-base text-primary"
71+
className="w-fit p-0 text-base text-primary hover:bg-transparent"
7272
onClick={() => setIsOpened((open) => !open)}
7373
variant="subtle"
7474
>

0 commit comments

Comments
 (0)