summaryrefslogtreecommitdiff
path: root/src-migrate
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate')
-rw-r--r--src-migrate/modules/product-detail/styles/image.module.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/src-migrate/modules/product-detail/styles/image.module.css b/src-migrate/modules/product-detail/styles/image.module.css
index e472fe8d..f33a659b 100644
--- a/src-migrate/modules/product-detail/styles/image.module.css
+++ b/src-migrate/modules/product-detail/styles/image.module.css
@@ -1,9 +1,21 @@
-.wrapper {
+/* .wrapper {
@apply h-[250px] md:h-[340px] flex items-center justify-center border border-gray-200 rounded-lg p-4 relative;
}
.image {
@apply object-contain object-center h-full w-full;
+} */
+
+.wrapper {
+ @apply relative border border-gray-200 rounded-lg overflow-hidden;
+
+ @apply w-full aspect-[1/1];
+
+ @apply mx-auto;
+}
+
+.image {
+ @apply w-full h-full object-cover object-center block;
}
.absolute-info {