Skip to content

Commit 170521f

Browse files
authored
Merge pull request #1005 from w3bdesign/dev
Improve design
2 parents 1602f95 + 4137bf7 commit 170521f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Products/ProductsShowAll.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div
77
v-if="product.slug"
88
:key="product.id"
9-
class="flex flex-col mt-6 sm:w1/2 md:w-1/3 lg:1/4 xl:w-1/4"
9+
class="flex flex-col mt-6 sm:w1/2 md:w-1/3 lg:w-1/4 lg:mr-4"
1010
>
1111
<NuxtLink
1212
class="text-black cursor-pointer hover:underline"
@@ -17,7 +17,7 @@
1717
>
1818
<img
1919
id="product-image"
20-
class="container p-8 border w-4/5 border-gray-200 mx-auto lg:h-[190px] rounded drop-shadow-lg transition duration-500 ease-in-out transform cursor-pointer lg:w-64 sm:p-4 hover:scale-95"
20+
class="p-8 border mx-auto w-4/5 border-gray-200 lg:h-[250px] rounded drop-shadow-lg transition duration-500 ease-in-out transform cursor-pointer lg:ml-0 lg:w-full lg:p-2 hover:scale-95"
2121
:alt="product.name"
2222
:src="productImage(product)"
2323
/>

0 commit comments

Comments
 (0)