-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
reenable minimum height for voila #2588
Conversation
|
Not done in this PR, but we could use the same idea for |
needs #2596 |
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
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.
Thanks for the PR! Looks good!
I will merge this as-is, but I have to ask, what is the purpose of all of these custom height overrides? Is it because we want 100%
to be the default in JupyterLab's "Output View" mode? Can we just change it to be e.g.:
div.PSPContainer {
height: 520px;
}
:not(.jp-NotebookPanel-notebook) div.PSPContainer {
height: 100%;
}
I need to ask, because this feature has no tests, and I don't know how to build a voila app. Also, the PR has the word "reenable" in the title, as in, this feature has regressed already ...
In voila (and vs code and jupyterlab and Jupyter notebook for that matter) the output container expands to the size of its contents, so if you just set You can run a voila app with Your change is fine but I think there is a reason for how we do it (though I am not aware of the reason 😄). I know we set height 98% in the viewer so we have room for that |
I've cherry-picked this into #2623, closing in favor of this PR. |
Tweaks and partially reverts #2352
Currently, Perspective works great in voila except that it does not have any height::
This PR gives it a minimum height:
The sentiments in the original PR still hold,
I'm looking for an alternative way to tell if specifically in voilà.but with voila-dashboards/voila#1457 we can now disambiguate and apply only in voilà