mknotebooks icon indicating copy to clipboard operation
mknotebooks copied to clipboard

Warning/log messages aren't broken at the cell

Open greenape opened this issue 6 years ago • 3 comments

The only remaining thing, and I don't even know that this is on your side @greenape , is that long warning/log messages do not line break at the cell, but instead run on to the right as long as they'd like to:

image

Let me know if you'd like to address as a different issue !

Originally posted by @eric-tramel in https://github.com/greenape/mknotebooks/issues/11#issuecomment-588102034

greenape avatar Feb 19 '20 09:02 greenape

I think we can probably do something about that in the template. I'll have a look.

greenape avatar Feb 19 '20 09:02 greenape

Quick fix in your custom CSS file:

/* Hide cell output overflow */
.output pre {
    overflow: scroll;
}

MasterScrat avatar Apr 14 '20 19:04 MasterScrat

@MasterScrat thanks a ton for the tip. This works well. I might offer a slight modification, so that we only get a scrollbar when overflow actually happens:

/* Hide cell output overflow */
.output pre {
    overflow: auto;
}

ericmjl avatar Apr 26 '20 02:04 ericmjl