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

Remove blank space at the bottom of the notebook #6376

Merged
merged 2 commits into from
Apr 26, 2022

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Apr 26, 2022

Set a lower min-height for the ::after element at the bottom of the notebook.

Before

The notebook would take the full page height, and sometimes add a scrollbar:

image

After

image

This is closer to the Notebook v6 look and feel:

image

@jtpio jtpio added this to the 7.0 milestone Apr 26, 2022
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch jtpio/notebook/notebook-height

@jtpio
Copy link
Member Author

jtpio commented Apr 26, 2022

cc @HaudinFlorence maybe this will fix the issue you noticed when embedding a notebook in a documentation site with JupyterLite?

@jtpio jtpio marked this pull request as ready for review April 26, 2022 12:20
@jtpio
Copy link
Member Author

jtpio commented Apr 26, 2022

Merging as this improves the look and feel of the notebook document.

Happy to iterate more on it based on feedback. This could also be made a setting if folks prefer the blank space like in JupyterLab.

@jtpio jtpio merged commit 4194024 into jupyter:main Apr 26, 2022
@jtpio jtpio deleted the notebook-height branch April 26, 2022 13:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant