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

Set max height for previews #794

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Set max height for previews #794

merged 1 commit into from
Feb 11, 2025

Conversation

git-f0x
Copy link
Contributor

@git-f0x git-f0x commented Feb 7, 2025

This sets the max height of the previews to THUMBNAIL_SIZE, to match text previews. Prevents the previews from becoming too large when the desktop details window is resized horizontally, and prevents the scrollable from becoming too long with predominantly vertical images, which makes it harder to quickly see the metadata.

Not sure if a different value than THUMBNAIL_SIZE should be used (since it's calculated using not very related things), but it seems about the right size for now.

Also adds some spacing to the desktop view options, to match designs.

This sets the max height of the previews to THUMBNAIL_SIZE, to match text previews.
Prevents the previews from becoming too large when the desktop details window is resized horizontally.
@jackpot51 jackpot51 merged commit e962589 into pop-os:master Feb 11, 2025
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