SveltePress / sveltepress

A content centered site build tool, build on top of Sveltekit.
https://sveltepress.site
MIT License
370 stars 20 forks source link

Adding large images breaks bounding box #270

Closed avocolado closed 6 months ago

avocolado commented 6 months ago

Describe the bug

Adding large images will cause the images to break out of the container on documentation pages

Reproduction

Add a large image to a +page.md and it will break out of its container and spill over onto the right.

Screenshot 2024-04-29 at 2 16 27 PM

Logs

No response

Screenshots

No response

Severity

blocking an upgrade

Blackman99 commented 6 months ago

Thanks for your feedback! Will add style restriction for default img in the next release. You can also add custom styles for your image too.