Skip to content

Conversation

joezein-oss
Copy link
Contributor

Removed the overflow-x-scroll if there's stdio in the list of python outputs. This change will make the whole block scrollable if there's a python stdio, which will include the graph too. So if there's python text output and a plotly graph, the graph will also be in the scrollable block. If this is not desirable, let me know and I'll try to find another method to fix this (maybe group text blocks with each other).

Closes #97

Copy link
Member

@lucasfcosta lucasfcosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @joezein-oss! Thanks a lot for this!

I think @vieiralucas and I poorly described the desired behaviour - this is not the desired change.

What we want is for the long lines of text to "wrap" (text-wrap: unset; on the pre containing the text would be enough).

In case there's a large image/plotly output (and it overflows the block) then the whole block should scroll together if possible.

Do you think we could change the behaviour this way?

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

Successfully merging this pull request may close these issues.

Python horizontal scrolls each output individually

2 participants