From 1addfc4eea49f8ae754342b48dabfa1dd45e1b2c Mon Sep 17 00:00:00 2001 From: yiqiu Date: Fri, 20 Mar 2026 22:20:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=9F=E8=AE=A1=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E5=B0=BA=E5=AF=B8=20+=20=E5=85=AC=E5=91=8A?= =?UTF-8?q?=E4=BE=A7=E6=A0=8F=E7=AD=89=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - stat-item i 添加 min-width/min-height/flex-shrink:0 防止圆形被压缩 - card-sidebar 添加 align-self:stretch 强制与产品卡等高 --- clientarea/home/hgcloud_home/css/home.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clientarea/home/hgcloud_home/css/home.css b/clientarea/home/hgcloud_home/css/home.css index 6fe321a..39b5536 100644 --- a/clientarea/home/hgcloud_home/css/home.css +++ b/clientarea/home/hgcloud_home/css/home.css @@ -109,7 +109,8 @@ /* 圆形图标背景 */ .stat-item i { - width: 36px; height: 36px; border-radius: 50%; + width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; + border-radius: 50%; flex-shrink: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 18px; } @@ -252,7 +253,7 @@ .empty-state p { font-size: 13px; color: var(--text-tertiary); margin-bottom: 14px; } .empty-state .el-button { padding: 8px 22px; font-size: 14px; border: none; background: var(--accent); color: #fff; border-radius: 999px; } -/* 侧栏 35% */ +/* 侧栏 35% — 与产品卡等高 */ .card-sidebar { flex: 2 !important; min-width: 0 !important; @@ -260,6 +261,7 @@ display: flex !important; flex-direction: column !important; gap: 20px !important; + align-self: stretch !important; } .sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .sidebar-header > span:first-child { font-size: 14px; font-weight: 600; color: var(--text-primary); }