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

feat(web): Make scaling of albums overview more responsive #1981

Merged
merged 4 commits into from
Mar 12, 2023

Conversation

matthinc
Copy link
Contributor

Problem:

If an album in the overview does not fit in a row it gets pushed to the next one leaving a gap.
This, for example, happens on my 13" MBP and looks following:

Screenshot_2023-03-11_at_16_42_55

Solution:

Use tailwinds grid system together with media breakpoints and a fixed aspect ratio of the preview image and scale thumbnails to always fill the whole row.

Same screen size after the change:

Screenshot 2023-03-11 at 19 35 31

@vercel
Copy link

vercel bot commented Mar 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
immich ⬜️ Ignored (Inspect) Mar 11, 2023 at 7:13PM (UTC)

@matthinc matthinc marked this pull request as ready for review March 11, 2023 18:54
@matthinc matthinc requested a review from alextran1502 March 11, 2023 18:54
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.

3 participants