Join the Webstudio community

Updated 3 weeks ago

Markdown width

At a glance

A community member is experiencing an issue where the content in a grid is pushing outside of the grid, even when the content is truncated. They have used the same CSS tokens on other pages and it's working fine. Another community member suggests that the issue may be caused by images within a markdown embed, and recommends setting the image display to none to fix the problem. The community members confirm that this solution resolves the issue.

Useful resources
Can anyone explain why the content in this grid is pushing outside of the grid? Even if i truncate the content, it continues to push outside... (not truncated right now). I am using the same css tokens on other pages and it's working fine.
https://p-5ff40d73-969b-4c6f-871e-9b6eabd0c41d.apps.webstudio.is/?pageId=Y9oDvKLOAd2emLEbjcRHS&authToken=368aa002-972d-44dc-aa07-94ce0cd7625e&mode=preview
Marked as solution
@Steve Suderman I found the culprit in your instance.

There must be some images within your markdown embed or something. If I select this image type in there and set it to display none, your problems are fixed.
View full solution
J
B
S
4 comments
The "box" that's highlighed in the left side in the collection is the issue (or a child within).

I'll look a bit deeper to see what it is.
Attachments
CleanShot_2025-04-30_at_11.10.332x.png
CleanShot_2025-04-30_at_11.10.572x.png
There is a trick with flex or grid items. You can specify min-width: 0 on grid item to enforce all columns fit parent container instead of stretching by item content
@Steve Suderman I found the culprit in your instance.

There must be some images within your markdown embed or something. If I select this image type in there and set it to display none, your problems are fixed.
Attachment
CleanShot_2025-04-30_at_11.27.582x.png
@Jeremy Thank you! that was totally it. Good catch.
Add a reply
Sign up and join the conversation on Discord