-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Fix up theme issues #1670
Fix up theme issues #1670
Conversation
@MarcSkovMadsen Here's a start, a user should never import a particular theme implementation directly, i.e. they should always import |
I was doing that also. But I can start from your fix then. @philippjfr |
Please note that now you can test with and without sidebar http://localhost:5006/test_manual?template=material&app=no_sidebar |
@MarcSkovMadsen This seems extremely broken right now, any idea why the main content does not fill the screen? |
Nope. I've not tested the Dark themes. Did not know that the css was related. I can try to take a look tomorrow. I will have other work till late tonight unfortunately. |
Actually I might have an idea @philippjfr . Because of my lack of understanding of the inner workings I switched You can try switching it back. |
Can't wait until tomorrow, I'm going to tag and release today. Going to try to figure this out, otherwise I will probably revert your changes for the time being. |
I have a few minutes more if this branch is up to date i can pull it and see if I can fix. |
Ah something to do with max-width. Will probably disable that by default. |
Agree on disabling by default. C.f. docs :-) |
I've not the |
At least for the Vanilla theme you had also hardcoded 1000px in the actual template. Disabling the main_max_width has no effect on Material. Anyway don't worry about it, I'll figure it out. |
I don't know where the 1000px comes from. I also saw it. Thought you provided it? Maybe I did it while exploring. But forgot about it? |
The |
Got it, seems all okay now. Thanks for all your efforts here! We can always iterate in 0.10.x releases. |
@philippjfr . One temporary solution for getting material themed widgets could be using a small script to replace the bokeh classes with the material classes. Maybe it's as simple as defining the conversions in a dictionary. What do you think? The thing I don't know is if I can get the script to execute every time the css class changes. But maybe I can using a MUTATIONOBSERVER. If it works it could be a really easy and powerful thing. POC |
Maybe at some point but not before release. |
Fixes theme issues introduced in #1662