Skip to content

BUGFIX: Add bottom margin for thumbnail view so it doesn't overlap with pagination in link editor/media selection view#258

Merged
Sebobo merged 1 commit intoFlowpack:2.xfrom
gradinarufelix:bugfix-add-margin-to-thumbnail-view
Oct 31, 2025
Merged

BUGFIX: Add bottom margin for thumbnail view so it doesn't overlap with pagination in link editor/media selection view#258
Sebobo merged 1 commit intoFlowpack:2.xfrom
gradinarufelix:bugfix-add-margin-to-thumbnail-view

Conversation

@gradinarufelix
Copy link
Copy Markdown

@gradinarufelix gradinarufelix commented Jul 31, 2025

What I did

I added 4rem of margin-bottom to ThumbnailView, because in a selection view the last line of filenames was not readable due to it being hidden behind the pagination.

image (18)

How I did it

I added 4rem of margin-bottom to ThumbnailView.module.css.

@Sebobo
Copy link
Copy Markdown
Member

Sebobo commented Aug 6, 2025

Thx, but do you have some hints on your browser and resolution you used, as I cannot reproduce the issue (and fixed it already sometime in the past)

@Sebobo Sebobo self-requested a review August 6, 2025 11:42
@Sebobo Sebobo added the Bug Something isn't working label Aug 6, 2025
@gradinarufelix gradinarufelix force-pushed the bugfix-add-margin-to-thumbnail-view branch from 1cb086f to 6f10956 Compare September 24, 2025 19:36
@gradinarufelix
Copy link
Copy Markdown
Author

I just checked it again. This happens in combination with https://github.com/sitegeist/Sitegeist.Archaeopteryx when you want to create a link and switch to the "media" tab.

display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: var(--theme-spacing-Full);
margin-bottom: 4rem;
Copy link
Copy Markdown
Member

@Sebobo Sebobo Sep 26, 2025

Choose a reason for hiding this comment

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

I think the correct place is adding padding-bottom: 41px; when in selectionMode. As the calculation for the height doesn't correctly measure the available size.

@gradinarufelix
Copy link
Copy Markdown
Author

@Sebobo Good point. I changed it now, please review and merge if it looks good for you :-) I tested in the selection view, there we have no more overlap. And in the media module we don't have an overly tall spacing at the bottom any more.

@gradinarufelix gradinarufelix requested a review from Sebobo October 29, 2025 16:01
…th pagination in link editor/media selection view
@Sebobo Sebobo force-pushed the bugfix-add-margin-to-thumbnail-view branch from 88acdcb to 75c728f Compare October 31, 2025 10:09
Copy link
Copy Markdown
Member

@Sebobo Sebobo left a comment

Choose a reason for hiding this comment

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

Thx, I cleaned up the commits and will release the fix

@Sebobo Sebobo merged commit 3d8330e into Flowpack:2.x Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants