Blob refactor: Prevent image from overflowing parent
What does this MR do and why?
This prevents the image from overflowing outside of its parent in the refactored blob viewer.
Screenshots or screen recordings
before | after |
---|---|
Large image | |
Small image |
How to set up and validate locally
- Enable the Blob Viewer Refactor feature flag
Feature.enable(:refactor_blob_viewer)
- Open an image in the repository file browser
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.