matt-dray / rostrum-blog

:memo::bug: Blog: superseded source code for rostrum.blog
Other
6 stars 3 forks source link

Fix image sizing issue on mobile #2

Closed matt-dray closed 6 years ago

matt-dray commented 6 years ago

Plots and images don't resize when viewed on mobile. Perhaps Rmd chunk options can be set to resize. Perhaps use HTML tags for better image control images versus ![]().

matt-dray commented 6 years ago

Solved for images with <img src="" width="" height="">. Not yet solved for output files.

matt-dray commented 6 years ago

Look into this CSS image width solution for output image files: https://stackoverflow.com/questions/45827291/resize-a-plot-generated-in-r-in-a-web-page-generated-by-blogdown-to-different-sc

matt-dray commented 6 years ago

interactives still don't resize, but static outputs do