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
Header area not showing #7279
Comments
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: |
The reason the top bar shows up is that we explicitly set a min height for it:
|
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: |
So, it looks like you could follow what the top area does and just set a min-height for the jp-header-panel: #jp-header-panel {
min-height: 30px; /* or whatever */
} That isn't a very satisfying solution, but will work with what we have now. For the future, I suggest we change the header to a box panel, like the bottom area is already, and then you'd be able to just set a min-height for the widget you are adding, and the header will automatically see that and adjust its size to fit it. |
This makes it similar to the bottom panel, and means widgets can set their min-height and the header region will adjust to accommodate it. Fixes jupyterlab#7279
I did this in #8059. |
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: |
I understand that this would fix the issue, but I don't know how to do this from the application plug-in extension. I can see that e.g. In any case, thanks for the explanations so far! |
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: |
That was a very near future indeed! |
Yes that did it! |
Description
The
header
area doesn't seem to be shown when adding widgets to it from a third-party extension.Reproduce
Example code:
Or at: https://github.com/jtpio/potatoes/blob/421fdafe8658df1a3d7eb2a6b9c446ea16cce855/header-logo/src/index.ts#L13-L20
Expected behavior
Actual behavior
Context
The text was updated successfully, but these errors were encountered: