This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
MM-19909 Fix for scroll pop with markdown images #4164
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
There was a change with inherited classes [MM-12898] Allow in-line markdown images to open preview window #3639 on . markdown-inline-img causing this issue
The change of .markdown-inline-img was added to div intentionally to apply for div wrapper to match the styles of img which is going to be replaced when it loads. Reverted the change
Changing the width of svg to inherit to occupy the space as needed. This wasnt needed earlier but some of the recent changes made this a requirement.
![Nov-08-2019 16-00-31](https://user-images.githubusercontent.com/4973621/68470456-20d2bb80-0242-11ea-92a5-e82f81ab54a2.gif)
Ticket Link
https://mattermost.atlassian.net/browse/MM-19909