fix: 桌面隐藏导航汉堡,恢复评论数与共 N 条右对齐
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -350,9 +350,6 @@ html.dark .top-progress {
|
|||||||
.post-list-scroll > .site-footer {
|
.post-list-scroll > .site-footer {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.header-menu-btn {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-brand-sections > .admin-settings-section {
|
.admin-brand-sections > .admin-settings-section {
|
||||||
@@ -1094,6 +1091,11 @@ html.dark .ssr-theme-icon--sun {
|
|||||||
transition: background 0.15s, color 0.15s;
|
transition: background 0.15s, color 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 桌面默认隐藏;手机在 max-width:768 中显示(需压过 .header-icon-btn) */
|
||||||
|
.header-icon-btn.header-menu-btn {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.header-icon-btn:hover {
|
.header-icon-btn:hover {
|
||||||
background: var(--color-fill-3);
|
background: var(--color-fill-3);
|
||||||
color: var(--color-text-1);
|
color: var(--color-text-1);
|
||||||
@@ -1985,7 +1987,7 @@ html.dark .ssr-theme-icon--sun {
|
|||||||
.header-inner { padding: 0 12px; gap: 8px; }
|
.header-inner { padding: 0 12px; gap: 8px; }
|
||||||
.header-brand { flex-shrink: 0; }
|
.header-brand { flex-shrink: 0; }
|
||||||
.header-logo-text { display: none; }
|
.header-logo-text { display: none; }
|
||||||
.header-menu-btn { display: inline-flex; }
|
.header-icon-btn.header-menu-btn { display: flex; }
|
||||||
.header-theme-btn { display: none; }
|
.header-theme-btn { display: none; }
|
||||||
.header-compose-btn__label { display: none; }
|
.header-compose-btn__label { display: none; }
|
||||||
.header-search-wrap { max-width: none; }
|
.header-search-wrap { max-width: none; }
|
||||||
@@ -2808,12 +2810,12 @@ a.post-row {
|
|||||||
.board-chip.active.board-chip--6 { background: var(--board-6-bg); color: var(--board-6-color); }
|
.board-chip.active.board-chip--6 { background: var(--board-6-bg); color: var(--board-6-color); }
|
||||||
.board-chip.active.board-chip--7 { background: var(--board-7-bg); color: var(--board-7-color); }
|
.board-chip.active.board-chip--7 { background: var(--board-7-bg); color: var(--board-7-color); }
|
||||||
|
|
||||||
/* 帖子排序栏:与左侧栏 active 样式保持一致;不占满整行,避免「共 N 条」贴中栏右缘 */
|
/* 帖子排序栏:与左侧栏 active 样式保持一致;flex:1 把「共 N 条」推到工具栏右缘 */
|
||||||
.feed-sort-bar {
|
.feed-sort-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
flex: 0 1 auto;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
@@ -3161,7 +3163,7 @@ a.post-row {
|
|||||||
.post-row--v2 .post-meta {
|
.post-row--v2 .post-meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: space-between;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
@@ -3175,7 +3177,7 @@ a.post-row {
|
|||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
flex: 0 1 auto;
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user