From 79a0b4b78cc655a46f787bf98bf809df517e64c9 Mon Sep 17 00:00:00 2001 From: peijunlei Date: Mon, 31 Aug 2026 19:33:06 +0800 Subject: [PATCH] style: adjust padding, gap, and font size in product page CSS for better visual consistency --- public/themes/dist_static/static/css/product.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/themes/dist_static/static/css/product.css b/public/themes/dist_static/static/css/product.css index d023c94..99c57eb 100644 --- a/public/themes/dist_static/static/css/product.css +++ b/public/themes/dist_static/static/css/product.css @@ -402,7 +402,7 @@ body.is-p-subnav .site-header { z-index: 5; display: flex; align-items: center; - padding: 2rem 0; + padding: 1rem 0; background: var(--color-white); border-bottom: 0.125rem solid rgb(223, 224, 226); } @@ -451,7 +451,7 @@ body.is-p-subnav .site-header { display: flex; flex-direction: column; align-items: center; - gap: 1.25rem; + gap: 0.5rem; padding: 0; border: 0; border-radius: 0; @@ -480,14 +480,14 @@ body.is-p-subnav .site-header { } .p-spec__tab-media img { width: auto; - height: 6.25rem; /* 100px */ - max-width: 4.5rem; /* 72px */ + height: 5rem; + max-width: 4.5rem; object-fit: contain; display: block; } .p-spec__tab-name { font-family: "MiSans VF", "PingFang SC", sans-serif; - font-size: var(--font-24); + font-size: var(--font-20); font-weight: 400; line-height: var(--font-32); }