Prevent output images from being larger than their container.

Jonathan Frederic 11 years ago
parent 987b338758
commit 193986748c

@ -131,6 +131,13 @@ div.output_png {
div.output_jpeg {
}
// Prevent the image outputs from being wider than the page.
div.output_png div.ui-wrapper,
div.output_svg div.ui-wrapper,
div.output_jpeg div.ui-wrapper {
max-width: 100%
}
/* Empty output_javascript divs should have no height */
div.output_javascript:empty {
padding: 0;

Loading…
Cancel
Save