-
Notifications
You must be signed in to change notification settings - Fork 5k
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
CSS issue when the Notebook windowing mode is set to full
#7231
Comments
Adding to |
Marking as a "good first issue" if someone would like to have a look: The windowing mode can be set to This will also likely require tweaking some CSS depending on the DOM structure: https://github.com/jupyter/notebook/blob/main/packages/notebook-extension/style/base.css |
Hi @jtpio, |
Hello, would it be possible to have this assigned to me? Thanks |
I'm also working to resolve the issue. If you find a solution, you can submit a PR I guess. Assigning it won't be beneficial. |
It will be so efforts arent duplicated, so work on it. if you can't/dont have time let me know and i can take a stab at it |
Ok sure. I will let you know if I'm not able to complete it. I'm currently halfway there |
Hi @v-lozko , i am finding it difficult to fix the bug. So you can start working on it if you want. |
@v-lozko Also, if you are able to merge Kindly tell me the approach as i am keen on understanding how to tackle such issues in the future. |
Hello @jtpio i can't seem to replicate the issue. This is the first issue i'm dealing with in Jupyter, but it definitely seems like i set up the environment correctly, and having changed my settings to full i do not have the CSS issue that you shared. it looks fine. |
I just tried from the latest commit (851a4be) and it still seems to be an issue: |
Did you refresh the notebook page after changing the setting? |
yes, and i've tried reinstalling the build multiple times. i see you're using gitpod based on your url, could that be a possible source of the issue? |
Here is a screencast to reproduce the issue, testing on Binder with Notebook 7.1.2 from this gist: https://gist.github.com/jtpio/d368ab89cee5123ecee60683115e15f3 notebook-full-windowing-mode.webm
This was tested in a fresh new environment on Gitpod, so not sure this is the reason. And it is also reproducible on Binder (which also creates a clean new environment). |
So i went out, got a new macbook as i was previously using a windows, set everything up and this time tried it both with chrome and safari as well as binder. i get the issue with safari and binder, but i am not able to repeat it on chrome. so at least this gives me a place to start |
Thanks @v-lozko for looking into this. I also checked on Chromium (on Ubuntu) and it also seems to be the case: |
Thanks for your patience as well, I have been a bit busy these past couple days but had a chance to look into a little. I'm not certain its the DOM, as it seems the right margin for the windowed panel is being overridden by a style attribute coming from somewhere (which surprisingly isn't happening with chrome). I'll get it sorted in next day or so, someone much better versed in CSS will help me sort it out. |
Hi @v-lozko , I hope I can help on the CSS part in this issue, if there is a room for contribution please let me know. |
Hey @Dev-Akash, I have put some time in already trying to resolve this and would like to see it through in next day or so. If I can't figure it out I can definitely let you know! I appreciate the offer |
Sure! @v-lozko. |
Updating to limit max width of inner windowed panel
Is the issue solved yet? what is the progress? |
This problem seems still happening in notebook version 7.2.2 |
@felixmachaoran would you be able to provide a screenshot of the issue? Thanks! |
Thanks @felixmachaoran. Wondering if this might be a browser caching issue. Would you be able to clear your browser cache and reload the page, to double check? |
When I downgrade to version 7.1.2, this issue disappeared, once I upgrade to 7.2.2, it happens again |
OK, and if you try to clear the cache entirely? Or try in a different web browser? |
Sorry, after clear the browser cache, the issue seems solved, thank you for your help |
OK good to hear, thanks for checking! |
Testing on the latest
main
, which includes the recent changes that landed in JupyterLab w.r.t windowing mode, it looks like the CSS is off:This is likely related to an underlying DOM structure change, which affects the CSS customizations in Notebook.
The text was updated successfully, but these errors were encountered: