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 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-28 23:14:48 +08:00
1 parent c152e00501
commit cfe806728d
1 file changed
+2
+2
View File
@@ -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);