generateblocks
generateblocks copied to clipboard
Block based themes don't auto size images GB Images break containment on frontend.
- Activate Twenty24 theme
- Add a GB Query Loop block, choose the default template with images:
backend looks correct:
front end , the images break containment:
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.