diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-26 01:16:35 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-26 01:16:35 +0700 |
| commit | 0ad4392184f269121100d9f1f5515ea23df5f0d0 (patch) | |
| tree | 14eabf90d2054b9a10407872dde58798c635b881 | |
| parent | 6efad9b51621e74b0322c128db2ee68f9ee28a61 (diff) | |
<Miqdad> fix image prod detail
| -rw-r--r-- | src-migrate/modules/product-detail/styles/image.module.css | 14 |
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 { |
