diff --git a/static/css/app.css b/static/css/app.css index 8242c99..af1ecf6 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -1658,50 +1658,21 @@ body.dnd-mode .timer-display { cursor: pointer; } -/* --- Recently-read shelf (always pinned atop the books view) --- */ -.book-recent-shelf { +/* --- Recently-read section (always pinned atop the books view, plain list style) --- */ +.book-recent-section { + display: flex; + flex-direction: column; + gap: 6px; margin-bottom: 14px; + padding-bottom: 14px; + border-bottom: 1px solid var(--border); } .book-recent-title { font-size: 13px; font-weight: 600; - margin: 0 0 6px; + margin: 0; color: var(--muted, #888); } -.book-recent-row { - display: flex; - gap: 8px; - overflow-x: auto; - padding-bottom: 2px; -} -.book-recent-item { - flex: 0 0 auto; - display: flex; - flex-direction: column; - gap: 2px; - max-width: 160px; - padding: 8px 10px; - border: 1px solid var(--border); - border-radius: var(--radius); - background: none; - color: var(--fg); - text-align: left; - cursor: pointer; - font: inherit; -} -.book-recent-item-title { - font-size: 13px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} -.book-recent-item-author { - font-size: 11px; - color: var(--muted, #888); - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} /* --- Book folders (single level) --- */ .book-folder-grid { diff --git a/static/js/app.js b/static/js/app.js index 1baa782..39f793a 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -3461,8 +3461,8 @@ function _renderBookItemHtml(b) {