From cfe806728d26cfdce277f5796e283b51a20f41ca Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Oct 2026 23:14:48 +0800 Subject: [PATCH] fix(user-center): restore reference 6px padding on sidebar icon boxes widgets/frontend.css loads after main.min.css and its global .zib-widget{padding:15px} overrode .padding-6. Co-Authored-By: Claude Fable 5 --- assets/css/routes/user-center/shell.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/routes/user-center/shell.css b/assets/css/routes/user-center/shell.css index 714170d0..8caf3073 100644 --- a/assets/css/routes/user-center/shell.css +++ b/assets/css/routes/user-center/shell.css @@ -541,8 +541,10 @@ body.aksrt-user-center .uc-content, 网格项只继承正文色,参考主题没有 hover / 选中变色。 参考主题正文行高是 bootstrap 的 1.42857143,本站 body 为 1.6, 标题、图标、文字三行会各自被撑高,这里恢复参考行高。 */ +/* widgets/frontend.css 在 main.min.css 之后加载,其 .zib-widget{padding:15px} 会盖掉 .padding-6,这里按参考值锁回 6px。 */ .uc-sidebar-iconbox.zib-widget { clear: both; + padding: 6px; line-height: 1.42857143; background-color: var(--main-bg-color); box-shadow: 0 0 10px var(--main-shadow);