Patch leaflet.css with missing rule about <img> in pane #770
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.
This PR follows the investigation and closes rstudio/rmarkdown#1949.
Some CSS rules seems to be missing in
leaflet.css
and we add them in our CSS file.Issue was
<img>
in left or right pane not showing as it should because amax-width
was set by R Markdown somewhere. leafletJS has specific rule to override such rule https://github.com/Leaflet/Leaflet/blob/e9bc85952d955347bbfd0a2d7909fdc51f08a48a/dist/leaflet.css#L52-L61See details in rstudio/rmarkdown#1949 (comment) for more context.