Skip to content

fix(library): move delete button into UserBookDetailPage action row#240

Merged
mrviduus merged 1 commit into
mainfrom
fix/userbook-detail-delete-button
May 23, 2026
Merged

fix(library): move delete button into UserBookDetailPage action row#240
mrviduus merged 1 commit into
mainfrom
fix/userbook-detail-delete-button

Conversation

@mrviduus
Copy link
Copy Markdown
Owner

Summary

The trash icon on the user-book detail page lived alone in a "danger zone"
block below the chapter list — visually orphaned from every other book
action (Continue Reading, Mark as read, Add to collection, Share).

Moves it into the same action row, keeping the destructive styling
(red-bordered round icon button, hover tooltip via aria-label).
Removed the now-unused .user-book-detail__danger-zone CSS.

Tests

pnpm -C apps/web build clean.

🤖 Generated with Claude Code

The trash icon lived in a standalone "danger zone" block below the chapter
list, far from every other book action. Moves it into the primary action
row next to Share / Add-to-collection. Same destructive styling (red round
icon button, hover tooltip) — just colocated with related actions, less
visual orphaning.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mrviduus mrviduus merged commit 3e0765e into main May 23, 2026
5 checks passed
@mrviduus mrviduus deleted the fix/userbook-detail-delete-button branch May 23, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant