Alignment of book an buttons in my books page
Problem
Book and Buttons alignment looks unsymmetrical and too much empty space for one single book in loan & history section
Reproducing the bug
- Go to http://localhost:8080/people/openlibrary/books
- Expected behavior:
- Actual behavior:
Context
- Browser (Chrome, Safari, Firefox, etc): Brave
- OS (Windows, Mac, etc): Linux
- Logged in (Y/N): Y
- Environment (prod, dev, local): prod
Breakdown
Implementation Details (for maintainers)
Requirements Checklist
- [ ]
Related files
Stakeholders
@lokesh
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
@lokesh this is not specifically a bug but i think there might be little room for improvement in the UI in the way how the buttons and book covers are shown
We have ongoing work with our carousel and action buttons that will be rolling out over the next few weeks. Some of the layout issues will be resolved alongside these feature updates.
Let's hold off on doing any work prior to that on this layout issue.
But, I would still love to get clarification on what specific layout issues you are referring to so we can evaluate them and fix if needed. Thank you!
To clarify, I’m not specifically saying there's issue with the layout but, what caught my attention was more the spacing and alignment of the book/action area in the Loans & History section. The action buttons underneath book feel disproportionately large compared to the book cover the Read and secondary action buttons together take up considerably more horizontal space than the cover itself. This makes the book and its actions feel a little visually unbalanced.
So it’s less of a specific bug and more that the book cover + action buttons could potentially use some UI/spacing improvements. The single-book state just makes the issue easier to notice.
overall width of the buttons underneath book cover seems little too much.
This is directionally where we are headed:
Rolling out to the homepage first, and then we'll tidy up the My Books carousels.
@lokesh that looks good