Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning/log messages aren't broken at the cell #12

Open
greenape opened this issue Feb 19, 2020 · 3 comments
Open

Warning/log messages aren't broken at the cell #12

greenape opened this issue Feb 19, 2020 · 3 comments

Comments

@greenape
Copy link
Owner

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 #11 (comment)

@greenape
Copy link
Owner Author

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

@MasterScrat
Copy link

Quick fix in your custom CSS file:

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

@ericmjl
Copy link
Contributor

ericmjl commented Apr 26, 2020

@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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants