Commit 12032ed7 authored by Eduardo Bonet's avatar Eduardo Bonet Committed by Simon Knox

Resize Jupyter images to fit within the parent box

Large output images in Jupyter Notebooks were stretching
to their full width, rather than fitting within the parent
box

Changelog: changed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68654
parent d0555e9f
......@@ -77,3 +77,9 @@ export default {
</p>
</div>
</template>
<style>
.output img {
min-width: 0; /* https://www.w3.org/TR/css-flexbox-1/#min-size-auto */
}
</style>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment