You need to sign in or sign up before continuing.
Bug: No width restrictions for image sizes in wiki
Summary
No width restrictions for image sizes in wiki.
Preview is okay, but after saving the page - there is no possible way to read content on that page because of large images.
Steps to reproduce
- Create wiki page
- Add large image, like 4000x4000, to that page
- Save the page
- Image is much wider than wiki page content width
Example Project
https://gitlab.com/aleksey.pastuhov/inavlid-wiki-example/wikis/home
What is the current bug behavior?
Image does not scale to the page width
What is the expected correct behavior?
Image must scale to the page width
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
Add .wiki img { max-width: 100%; }
to the styles
Edited by 🤖 GitLab Bot 🤖