nicercode / EnvironmentalComputing

These are the R markdown files used to generate
http://environmentalcomputing.net/
Creative Commons Attribution 4.0 International
16 stars 6 forks source link

rendered outputs are too large on big screen #30

Closed dfalster closed 2 years ago

dfalster commented 2 years ago

Looking at the page with a larger monitor, the rendered images rescale to be quite big and take up the page. They should probably be smaller. WDYT @wcornwell @fontikar

image

wcornwell commented 2 years ago

https://bookdown.org/yihui/rmarkdown-cookbook/figure-size.html

wcornwell commented 2 years ago

seems like bookdown controls dynamic figure size based on % of the width of the html element, so we might be stuck with this problem unless a small tweak of the out.width thing {r, out.width="50%", fig.cap="A nice image."} helps.

fontikar commented 2 years ago

Screen Shot 2022-02-02 at 12 06 33 pm

Hmmm strange, its not rendering me for me after fetching the latest rebuild! I always wondered what was going on with the nice squares. Should I try rebuilding?? @dfalster

dfalster commented 2 years ago

Strange.

Works on my machine and on https://deploy-preview-18--brave-bose-da028a.netlify.app/statistics/gams/

You shouldn't need to rebuild (i.e. reknit).

Try deleting "public" then blogdown::build_site()

dfalster commented 2 years ago

We'll leave this as is.