Skip to content

Commit 01b1059

Browse files
committed
Improve font sizes
1 parent c38f7b2 commit 01b1059

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/Products/ProductPrice.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
</p>
1212
<p
1313
v-if="hasVariations"
14-
class="pt-1 pl-8 mt-4 text-gray-900 line-through"
14+
class="pt-1 pl-4 mt-4 text-gray-900 line-through"
1515
:class="getSaleFontSizeClass"
1616
>
1717
>
1818
{{ formatPrice(variantPrice) }}
1919
</p>
2020
<p
2121
v-else
22-
class="pt-1 pl-8 mt-4 text-gray-900 line-through"
22+
class="pt-1 pl-4 mt-4 text-gray-900 line-through"
2323
:class="getSaleFontSizeClass"
2424
>
2525
{{ formatPrice(regularPrice) }}
@@ -28,7 +28,7 @@
2828
<p
2929
v-else
3030
class="flex justify-center pt-1 mt-4 text-gray-900"
31-
:class="getSaleFontSizeClass"
31+
:class="getFontSizeClass"
3232
>
3333
{{ formatPrice(nonSalePrice) }}
3434
</p>
@@ -78,7 +78,7 @@ const getFontSizeClass = computed(() => {
7878
case "small":
7979
return "text-lg";
8080
case "normal":
81-
return "text-xl";
81+
return "text-2xl";
8282
case "big":
8383
return "text-2xl";
8484
default:
@@ -91,7 +91,7 @@ const getSaleFontSizeClass = computed(() => {
9191
case "small":
9292
return "text-lg";
9393
case "normal":
94-
return "text-lg";
94+
return "text-xl";
9595
case "big":
9696
return "text-xl";
9797
default:

0 commit comments

Comments
 (0)