diff --git a/deals.html b/deals.html index 936f9b5..d8bdd0b 100644 --- a/deals.html +++ b/deals.html @@ -235,12 +235,14 @@ position: relative; width: 100%; aspect-ratio: 4 / 3; - background: #14141C; + background: #F2F0EC; overflow: visible; border-radius: 22px 22px 0 0; } .card .imgbox img{ - width:100%; height:100%; object-fit: cover; display:block; + width:100%; height:100%; object-fit: contain; display:block; + padding: 16px; + box-sizing: border-box; border-radius: 22px 22px 0 0; transition: transform 0.4s ease; } @@ -738,7 +740,7 @@ function render(){ return `
- ${p.name} + ${p.name}
${isStale ? 'Check price →' : p.price}
@@ -801,4 +803,4 @@ backToTopBtn.addEventListener('click', () => { }); - + \ No newline at end of file