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

[5.x]: Element cards overflow inside matrix fields in live preview #14710

Closed
Mathias-Syversen opened this issue Mar 27, 2024 · 4 comments · Fixed by #14718
Closed

[5.x]: Element cards overflow inside matrix fields in live preview #14710

Mathias-Syversen opened this issue Mar 27, 2024 · 4 comments · Fixed by #14718
Assignees
Labels

Comments

@Mathias-Syversen
Copy link

What happened?

If the edit part of the live preview gets too narrow, the element cards inside matrix fields overlap them:
Screenshot 2024-03-27 at 12 38 09

Craft CMS version

5.0.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brianjhanson brianjhanson self-assigned this Mar 27, 2024
@brianjhanson
Copy link
Contributor

I'm having trouble replicating this one. Can you provide a few more details about how your fields are set up so I can reproduce the issue?

@Mathias-Syversen
Copy link
Author

This image shows an Asset field inside a column matrix field inside a section matrix field.
All of these fields have the label hidden.

It does not happen on bigger screens. Only on on smaller windows, or if you resize the sidebar to be a bit smaller.

@brianjhanson
Copy link
Contributor

Thanks @Mathias-Syversen! The key turned out to be that it only happens when the cards are set to display as a grid. I've opened #14718 to fix this up.

@brandonkelly
Copy link
Member

Craft 5.0.1 is out now with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants