-
Clothes
-
{product.name}
-
${product.bidPrice}
+
+
+
+ Clothes
+
{product.name}
+ ${product.bidPrice}
+
{/each}
@@ -115,14 +117,18 @@ section
.container
display: grid
gap: 1rem
- grid-template-columns: repeat(3, 1fr)
+ grid-template-columns: repeat(4, 1fr)
+
+
+
.product
- width: 23%
- min-width: 20rem
+
+ height: 27rem
+ width: 20rem
padding: 10px 12px
border-radius: 25px
- place-self: center
+
cursor: pointer
transition: 0.2s
border: none
@@ -130,10 +136,13 @@ section
&:hover
box-shadow: 2px 2px 10px vars.$accent
-
+
img
- width: 100%
+ width: 18.5rem
+ height:auto
border-radius: 20px
+
+
.description
text-align: start
@@ -142,11 +151,12 @@ section
.category
color: vars.$text
font-size: 12px
-
+
.title
- padding-top: 7px
+
color: vars.$inverted
font-size: 14px
+
.price
padding-top: 7px
diff --git a/frontend/src/routes/home/[id=int]/+page.svelte b/frontend/src/routes/home/[id=int]/+page.svelte
index 94810e7..911ffb8 100644
--- a/frontend/src/routes/home/[id=int]/+page.svelte
+++ b/frontend/src/routes/home/[id=int]/+page.svelte
@@ -77,7 +77,7 @@
{product.name}
-
+
${product.bidPrice}
{#if product.available}
@@ -137,6 +137,10 @@ section
font-size: 2rem
color: vars.$text
+ img
+ width:auto
+ height: 25rem
+
.details
.price
color: vars.$accent