From f4b752df112027903bc0b30b5800009e46f40238 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Mon, 31 Aug 2026 19:22:09 +0800 Subject: [PATCH] style: refine product page CSS by adjusting image dimensions and layout properties --- public/themes/dist_static/static/css/product.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/themes/dist_static/static/css/product.css b/public/themes/dist_static/static/css/product.css index 48a7185..d023c94 100644 --- a/public/themes/dist_static/static/css/product.css +++ b/public/themes/dist_static/static/css/product.css @@ -473,7 +473,6 @@ body.is-p-subnav .site-header { box-shadow: none; } .p-spec__tab-media { - width: 7.5rem; display: flex; align-items: center; justify-content: center; @@ -481,6 +480,9 @@ body.is-p-subnav .site-header { } .p-spec__tab-media img { width: auto; + height: 6.25rem; /* 100px */ + max-width: 4.5rem; /* 72px */ + object-fit: contain; display: block; } .p-spec__tab-name {