From 12e4e983895858f1e8511bd89b2fde924d5734c9 Mon Sep 17 00:00:00 2001
From: Mike Smith <89040888+smiggiddy@users.noreply.github.com>
Date: Fri, 3 Jan 2025 17:59:38 -0500
Subject: [PATCH] fixes
---
product-preview-card-component-main/index.html | 14 +++++++++++---
product-preview-card-component-main/styles.css | 15 +++++++++++++--
2 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/product-preview-card-component-main/index.html b/product-preview-card-component-main/index.html
index 0a7ff31..99e5306 100644
--- a/product-preview-card-component-main/index.html
+++ b/product-preview-card-component-main/index.html
@@ -2,7 +2,10 @@
-
+
PERFUME
diff --git a/product-preview-card-component-main/styles.css b/product-preview-card-component-main/styles.css
index 91988e5..5fa8620 100644
--- a/product-preview-card-component-main/styles.css
+++ b/product-preview-card-component-main/styles.css
@@ -2,6 +2,7 @@
margin: 0;
padding: 0;
background-color: hsl(30, 38%, 92%);
+ font-size: 18px;
}
html,
@@ -52,6 +53,8 @@ p {
.hero-img {
border-radius: 0.5em 0.5em 0 0;
+ max-width: 100%;
+ height: auto;
}
.price {
@@ -102,13 +105,21 @@ span {
margin-right: 10px;
}
-@media only screen and (min-width: 768px) {
+@media only screen and (min-width: 800px) {
.container {
display: flex;
flex-direction: row;
justify-content: center;
+ width: 60vw;
+ align-self: center;
}
.content {
- width: 35%;
+ width: 50%;
+ border-radius: 0 0.5em 0.5em 0;
+ }
+ .hero-img {
+ width: 50%;
+ border-radius: 0.5rem 0 0 0.5em;
+ object-fit: cover;
}
}