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

Changed the horizontal scroll for the python output #128

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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

@defihook defihook left a comment

Choose a reason for hiding this comment

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

looks awesome

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
3 participants