-
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
Markdown and text documents do not have drop shadow #6781
Comments
Found by @ellisonbg during a bug bash. |
Newcomer here - could I take this on? |
@j-publius Please feel free to pick this one up! Let us know if you have any questions; otherwise, you can open a pull request and mention this issue in the description. |
This PR removed the shadow from the tree view, but it also removed the shadow from all files beyond notebooks. Below is how all other files looked like before the change. I'm looking for guidance - would it be better to add just a box-shadow around it? The corresponding line numbers would have a shadow behind them. Or should the shadow begin before the numbers (like in the image below). Or maybe even reverting back to the original version - I'm unsure if this was the original design/ intent. |
Looks like that PR is by @jtpio, who is based in central Europe (where it's about 00:37 local time), and who has previously commented on this issue — I'll defer to him for a response to the question above |
Thanks @j-publius for looking into it.
The intent if this PR was mostly to improve the styling of the file browser. It's possible that the drop shadow was making it look odd, but maybe we could into bringing it back. For reference the classic notebook does not have a drop shadow on the file browser: But one on the file editor: |
@jtpio That makes sense. I understand the change to the file browser, but the also PR seemed to unintentionally remove the drop shadow from text files. In working on this current issue (adding drop shadow to edit view), I was looking for guidance on how the drop shadow should look like :). (i.e. Should it look like before the PR, or something entirely different?). |
I agree that the file browser looks a bit odd with a drop shadow, but I do think it adds to the look of the other pages (notebook, terminal, text files, etc.). @j-publius the JupyterLab theme system has a number of CSS variables for Material Design style elevations (drop shadows) that we use for cases like this. I would try out some of those to see which elevation makes the most sense (also look at how it looks in dark mode). Let us know if you need help. |
Looks like we were previously using the |
Hey! I wish to work on this issue. However, I'm facing some difficulty setting up the project while using the |
Thanks @rielAsh24! What issue are you facing? |
Hey @jtpio! So I've set up the mamba notebook environment and I was trying to install the package in development mode using
Is there a step I have missed out on before I run this command? |
@rielAsh24 maybe try installing |
Okay, I gave it a try and it seems to be working now....Thanks @jtpio! |
@jtpio @JasonWeill Hey! I wanted to confirm regarding the drop shadows on each of the view. Following are samples of the drop shadows after the change for the markdown and the text files: I also looked over adding a drop shadow for the tree view which looks as follows: Note: I'm currently using the |
@rielAsh24 this looks good, thanks for looking into it! Would you like to open a PR? |
@jtpio For sure! I'll open one and mention this issue |
Jupyter notebooks have a drop shadow in JupyterLab and in the Jupyter Notebook UI:
However, markdown files and text files have edges with no drop shadow.
The same drop shadow effect should apply to all file types in Jupyter Notebook.
The text was updated successfully, but these errors were encountered: