fix(user-center): neutralize legacy shell flex on profile page

This commit is contained in:
2026-09-23 13:51:58 +08:00
parent 456d57b2de
commit edb60d08b4
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -12,12 +12,20 @@
/* ==================== 用户中心容器 ==================== */
/* 主内容宽度由 frontend/layout.css 的 profile shell 合同统一管理。 */
.aksrt-profile.content-shell {
display: block;
width: 100%;
max-width: none;
padding: 0 0 40px;
box-sizing: border-box;
}
/* main 仍带 legacy .user-center 类;旧规则会把整页误设为 flex,并以
* gap:20px 挤窄第一个 flex 子项(顶部资料卡所在的 content-wrap)。 */
.aksrt-profile.user-center {
display: block;
gap: 0;
}
/* 顶部资料卡位于双栏布局之前,必须与用户中心外壳同宽,不能继续继承
* legacy .content-wrap / .container 的收窄规则。 */
.aksrt-profile.content-shell > .content-wrap,