generateblocks icon indicating copy to clipboard operation
generateblocks copied to clipboard

Block based themes don't auto size images GB Images break containment on frontend.

Open diggeddy opened this issue 1 year ago • 0 comments

  1. Activate Twenty24 theme
  2. Add a GB Query Loop block, choose the default template with images:

backend looks correct: Screenshot 2024-01-19 at 13 15 47

front end , the images break containment: Screenshot 2024-01-19 at 13 16 11

This doesn't happen in GP ( GP clones ) as we add this kind of CSS

img { max-width: 100%; height: auto; } The issue can be resolved with this CSS or by setting the Image Blocks settings accordingly. So it is fixable, but its not a pleasant UX as the front end and backend don't match.

A potential fix would be to add defaults to the image block settings.... but we know where that can lead.

diggeddy avatar Jan 19 '24 13:01 diggeddy