From ba0f3d275e56363ec4866326175fff64edb4f9c0 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Thu, 25 Sep 2025 15:37:56 +0800 Subject: [PATCH] 1 --- assets/css/common.scss | 5 +++-- pages/products/_id.vue | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/assets/css/common.scss b/assets/css/common.scss index 242301c..b49f23b 100644 --- a/assets/css/common.scss +++ b/assets/css/common.scss @@ -48,8 +48,9 @@ .rich-text { margin-bottom: 1.25rem; img { - width: 100% !important; - height: auto !important + width: unset !important; + max-width: 100% !important; + height: unset !important } p { text-align: left; diff --git a/pages/products/_id.vue b/pages/products/_id.vue index f80ac3d..8fa526d 100644 --- a/pages/products/_id.vue +++ b/pages/products/_id.vue @@ -428,8 +428,9 @@ export default { height: min-content; min-height: 17.5rem; img { - width: 100% !important; - height: auto !important + width: unset !important; + max-width: 100% !important; + height: unset !important } p { color: #2d2d30;