QuantEcon / Bookshelf

Code for the site QuantEconLib
1 stars 0 forks source link

Large images in notebooks #279

Open natashawatkins opened 6 years ago

natashawatkins commented 6 years ago

What should we do with large images that people include in notebooks? Maybe just put a scrollable box?

image

http://notes.quantecon.org/submission/5bcce28895c6070015fa661a

AtlasMaxima-zz commented 6 years ago

@natashawatkins We can set up a maximum width for these images within the notebooks. @DrDrij What is your take on this ?

DrDrij commented 6 years ago

@AtlasMaxima Absolutely. Thanks for identifying. There should be the CSS anyway so images don't break out.

This style should do the trick: #notebook img {max-width:100%;}

I've added the line in the SCSS files.

mmcky commented 5 years ago

@AtlasMaxima is this issue now resolved?

mmcky commented 5 years ago

@DrDrij this doesn't appear to be fixed on notes.quantecon.org

DrDrij commented 5 years ago

@mmcky Added a line of CSS, changes should come through next deployment.

img {max-width:100%;}