spicywebau / craft-neo

A Matrix-like field type for Craft CMS that uses existing fields
Other
403 stars 63 forks source link

Preview on collapsed fields are not aligned with block title #901

Closed elfacht closed 1 week ago

elfacht commented 1 week ago

Bug Description

With Craft 5.2.3 and Neo 5.0.3 the preview on collapsed fields are cut-off and image thumbnails are broken:

Screen shot 2024-06-26 um 10 11 22

Steps to reproduce

  1. Create a Neo field with multiple blocks (in this case all blocks have multiple tabs) and add different type of fields to them (entries, text, etc.)
  2. Enable Collapse all blocks? in the Neo settings.
  3. Go to an entry with the field and add several blocks with content and save.
  4. The blocks should be collapsed and the preview should look like the screenshot.

Expected behaviour

The preview text should be aligned with the block title:

Screen shot 2024-06-26 um 10 18 28

Also the images thumbnails should no be broken.

Neo version

5.0.3

Craft CMS version

5.2.3

What is the affected Neo field's propagation method?

No response

Does this issue involve templating, and if so, is eager-loading used?

This is not a templating issue

ttempleton commented 1 week ago

Thanks for reporting that - fixed now in 5.0.4.