用户域壳层收口:删除 uh/uc/profile 孤儿 partial 并修正侧栏与宽度选择器
清理减层后已无引用的草稿 partial,让公开主页/作者页侧栏接入 content-layout__aside,并修正 content-shell 与 aksrt-profile 同节点时的宽度选择器。
This commit is contained in:
1 parent
adad6d6fcd
commit
56c4f83e09
19 files changed
+28
-2122
No files matched your search
@@ -54,8 +54,10 @@
|
||||
100% { opacity: 0; transform: translateY(8px) scale(0.95); }
|
||||
}
|
||||
|
||||
/* 用户主页 / 用户中心统一使用站点内容宽度,避免旧 page/dashboard 容器收窄 */
|
||||
.aksrt-profile .content-shell {
|
||||
/* 用户主页 / 用户中心统一使用站点内容宽度,避免旧 page/dashboard 容器收窄。
|
||||
* main 自身同时带 content-shell + aksrt-profile,不能写成 .aksrt-profile .content-shell。 */
|
||||
.aksrt-profile.content-shell,
|
||||
.content-shell.aksrt-profile {
|
||||
width: 100%;
|
||||
max-width: var(--container, 1440px);
|
||||
}
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
*/
|
||||
|
||||
/* ==================== 用户中心容器 ==================== */
|
||||
.aksrt-user-center .content-shell {
|
||||
/* main 自身同时带 content-shell + aksrt-profile;宽度选择器应对准同一节点。 */
|
||||
.aksrt-user-center .content-shell,
|
||||
.aksrt-profile.content-shell,
|
||||
.content-shell.aksrt-profile {
|
||||
max-width: var(--container, 1440px);
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
|
||||
Reference in new issue
Block a user