openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Alignment of book an buttons in my books page

Open CipherZ3r0 opened this issue 2 months ago • 5 comments

Problem

Book and Buttons alignment looks unsymmetrical and too much empty space for one single book in loan & history section

Image

Reproducing the bug

  1. 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.

CipherZ3r0 avatar Sep 13 '26 10:09 CipherZ3r0

@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

CipherZ3r0 avatar Sep 13 '26 14:09 CipherZ3r0

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!

lokesh avatar Sep 14 '26 19:09 lokesh

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.

CipherZ3r0 avatar Sep 14 '26 20:09 CipherZ3r0

This is directionally where we are headed: Image

Rolling out to the homepage first, and then we'll tidy up the My Books carousels.

lokesh avatar Oct 07 '26 05:10 lokesh

@lokesh that looks good

CipherZ3r0 avatar Oct 07 '26 05:10 CipherZ3r0