用户主页再减层:抽出 page context helper 并清理失效 profile CSS
page-user-home 收成薄壳,tab/统计/分页上下文迁入 aksrt_get_user_home_page_context;同步删除 profile-public-contacts 等失效样式,并让 .user-center 宽度规则落到现用 aksrt-profile 壳层。
This commit is contained in:
1 parent
9f08c9337a
commit
05ee28ed5b
8 files changed
+183
-193
No files matched your search
@@ -246,21 +246,6 @@
|
||||
padding-top: 68px;
|
||||
}
|
||||
|
||||
/* 公开主页联系方式(沿用旧选择器) */
|
||||
.profile-public-contacts {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.profile-public-contacts .social-icon-link {
|
||||
color: var(--color-ink);
|
||||
background: var(--color-line);
|
||||
}
|
||||
.profile-public-contacts .social-icon-link:hover {
|
||||
color: var(--color-ink);
|
||||
background: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* 公开主页响应式 */
|
||||
@media (max-width: 767px) {
|
||||
@@ -292,9 +277,6 @@
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.profile-public-contacts {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
@@ -317,10 +299,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 页面标题 ==================== */
|
||||
.profile-page-title {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* ==================== Dashboard Tabs 计数徽章 ==================== */
|
||||
.dashboard-tabs__count {
|
||||
|
||||
Reference in new issue
Block a user