Skip to content

Commit 20affac

Browse files
committed
Improve design
1 parent 797c5d1 commit 20affac

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

nuxt3/components/Category/CategoryShowAll.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div v-if="categories">
3-
<section class="container mx-auto bg-white">
3+
<section class="mx-auto bg-white">
44
<div
55
class="grid gap-2 px-2 pt-2 pb-2 lg:px-0 xl:px-0 md:px-0 lg:grid-cols-4 sm:grid-cols-2 md:grid-cols-3 xs:grid-cols-3"
66
>
@@ -14,7 +14,7 @@
1414
query: { id: category.id },
1515
}"
1616
>
17-
<div class="p-6 cursor-pointer">
17+
<div class="mt-6 cursor-pointer">
1818
<div
1919
class="flex items-center justify-center w-full h-16 text-center border border-gray-300 rounded-lg shadow hover:shadow-outline"
2020
>

nuxt3/components/Layout/LayoutFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="container mx-auto mt-24">
2+
<div class="container mx-auto mt-24 max-w-[84.375rem]">
33
<footer
44
class="px-6 text-center bg-white border border-gray-300 rounded-lg shadow-lg"
55
>

nuxt3/components/Layout/LayoutNavbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<li
7676
class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"
7777
>
78-
<LayoutCart class="-mr-4" />
78+
<LayoutCart />
7979
</li>
8080
</ul>
8181
</nav>

nuxt3/components/Products/ProductsSingleProduct.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<img
99
v-if="product.image !== undefined"
1010
id="product-image"
11-
class="h-auto p-8 transition duration-500 ease-in-out transform xl:p-2 md:p-2 lg:p-2 hover:grow hover:shadow-lg hover:scale-105"
11+
class="h-auto p-8 transition duration-500 ease-in-out transform xl:p-2 md:p-2 lg:p-2 hover:shadow-lg hover:scale-95"
1212
:alt="product.name"
1313
:src="product.image.sourceUrl"
1414
/>
1515
<img
1616
v-else
1717
id="product-image"
18-
class="h-auto p-8 transition duration-500 ease-in-out transform xl:p-2 md:p-2 lg:p-2 hover:grow hover:shadow-lg hover:scale-105"
18+
class="h-auto p-8 transition duration-500 ease-in-out transform xl:p-2 md:p-2 lg:p-2 hover:shadow-lg hover:scale-95"
1919
:alt="product.name"
2020
:src="process.env.placeholderSmallImage"
2121
/>

nuxt3/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<LayoutNavbar />
4-
<div class="container p-4 mx-auto">
4+
<div class="container mx-auto max-w-[84.375rem]">
55
<slot />
66
</div>
77
<LayoutFooter />

0 commit comments

Comments
 (0)