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

Improved responsive design of find project page #8

Merged
merged 9 commits into from
Jun 17, 2024

Conversation

ofr1tz
Copy link
Collaborator

@ofr1tz ofr1tz commented May 16, 2024

This improves the responsive design of the image tile container of the find project component: Before, the number of columns of image tiles to show per page (and thus the size of each image tile) was determined based on the window aspect ratio only. With this PR, a reasonable image tile size between 128 and 512 px is determined based on the actual available space.

As a result, vertical space is used more efficiently while minimizing the cases in which the content of the component overflow the project view and thus require the user to scroll between imagery and controls.

Also, the size of the icon buttons on the image overlay (selection and magnify buttons) now adapt to the image tile size for better usability on smaller image sizes.

@ofr1tz ofr1tz requested review from maze2point0 and masain May 16, 2024 09:39
Copy link
Collaborator

@maze2point0 maze2point0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

@ofr1tz ofr1tz merged commit 07c46f8 into main Jun 17, 2024
@ofr1tz ofr1tz deleted the improve-find-project-page branch July 30, 2024 08:13
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.

2 participants