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

Gap on the right #386

Open
edan-bainglass opened this issue May 30, 2023 · 1 comment
Open

Gap on the right #386

edan-bainglass opened this issue May 30, 2023 · 1 comment

Comments

@edan-bainglass
Copy link
Member

Jupyter defines in the output_subarea CSS class a max-width of 100% - 14ex. As far as I can tell, this is the cause of the white space on the right of AiiDAlab apps. One can bypass this by adding in the app's notebooks the following lines:

from IPython.display import display, HTML
display(HTML("<style>.output_subarea { max-width:100% !important; }</style>"))

This is a bit annoying though. Anyone aware of another solution?

@edan-bainglass
Copy link
Member Author

Better

%%html

<style>

.output_subarea { 
    max-width:100% !important
}

</style>

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

1 participant