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
Restore horizontal scrolling of outputs for Firefox #15171
Restore horizontal scrolling of outputs for Firefox #15171
Conversation
Thanks for making a pull request to jupyterlab! |
galata/test/jupyterlab/print.test.ts-snapshots/printed-notebook-jupyterlab-linux.png
Outdated
Show resolved
Hide resolved
I finished up the fix for the mobile layout and reverted snapshot updated for The Vega change is probably expected and a result of: jupyterlab/packages/vega5-extension/style/base.css Lines 6 to 9 in 0b33a5c
and
I do not have a strong opinion on spacing so I guess it is fine to keep. I would say that if CI passes this is good to merge. |
f320e14
to
cb0a830
Compare
8f61152
to
1a1821f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtpio is this good enough or should we shrink top/bottom margins back to closer match the previous snapshot?
A part of me things that maybe the larger spacing is good for mobile (and possibly even required by accessibility) because the tap targets are easier to separate. I do not have a strong opinion though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good on the new screenshot. Actually a bit more spacing makes it a bit more pleasant to read it seems.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure there was a specific reason for having the margins very small on mobile in the first place, maybe it was just a side-effect of the table layout.
galata/test/jupyterlab/notebook-mobile.test.ts-snapshots/mobile-layout-jupyterlab-linux.png
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
bot please update galata snapshots |
Galata snapshots updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All 💚 now. Thank you @fcollonval!
Nice, thanks! |
@meeseeksdev please backport to |
Something went wrong ... Please have a look at my logs. It seems that the branch you are trying to backport to does not exist. |
@meeseeksdev please backport to 4.0.x |
…ox (#15257) Co-authored-by: Frédéric Collonval <fcollonval@users.noreply.github.com>
References
Fixes #14625
Code changes
It revert the changes done in #11508 to apply them only when printing
It adds the generation of a test notebook for printing
User-facing changes
Horizontal scroll on FireFox is restored
Backwards-incompatible changes
None