mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
书架恢复横向网格展示,移除分类分组标题
- loadShelf 始终用简单网格渲染,不再调用 renderBooksGroupedByCategory - 删除 renderBooksGroupedByCategory 函数 - 清理 .shelf-group-header / .shelf-group-count CSS 样式 - 后端 sort=category 仍生效(按分类排序),前端不显示分组标题 - 分类筛选标签保留
This commit is contained in:
1 parent
8b24052ab6
commit
7d983e38da
3 files changed
+9
-52
No files matched your search
@@ -447,33 +447,6 @@ body {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* 分类分组标题 */
|
||||
.shelf-group-header {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin: 24px 0 12px;
|
||||
padding: 8px 16px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--accent-bg);
|
||||
border-left: 4px solid var(--accent);
|
||||
}
|
||||
|
||||
.shelf-group-header:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.shelf-group-count {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: var(--text-light);
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.shelf-group-header + .book-grid {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* ===== Hero 区 ===== */
|
||||
.hero-section {
|
||||
position: relative;
|
||||
|
||||
Reference in new issue
Block a user