Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alignment fix ups for sliders/collections/library pages #559

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

sam-shift72
Copy link
Contributor

Collection views had a negative margin hack that was causing grid rows to not line up -- it was adding -5px margin to the first child of the collection to counteract the 5px padding to align the poster with the titles, but this caused subsequent rows to be misaligned.

I've also tweaked the caption padding to move the text closer to the poster. This makes the visual grouping clearer when there are multiple rows -- the text used to sit awkwardly close to the middle.

image

Another fix was adding a max-width to the library and wishlist pages to avoid the items spreading out if you have a really wide window.

There was a -5px margin being added to the first child of a slider or
collection in order to counter-style the padding and align it with
titles -- except this looks goofy when it wraps because the posters
don't line up in a grid.

Instead, this applies the negative margin to the whole container.
It gets too w    i    d    e  on big screens and looks silly.
The overall size isn't changed, but it moves the text closer to the
poster.
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