-
Notifications
You must be signed in to change notification settings - Fork 28
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
Style Layout Collapse (and core layout) two column layouts #492
Comments
@mlncn I added a some bulma classes to the template in the pece theme which make the section show as display:flex. I can't see why dashboard module doesn't apply the style when not logged in, but |
I ended up just calling the library via the template. Maybe that should go into layout collapse too. |
@multilectical that was my first thought, that i did not get the same CSS, so i put a core Two Col layout on the same page as a step one trial of that, but it did not help at all. That's the bizarre thing— the layout classes Layout Collapse is using come from core— not Dashboard module! |
@mlncn well, in the dashboards module there is this in dashboards.libraries.yml:
I think this is a library called core in dashboards module (or an override of the core css lib. need to look that up). But it refers to a css file in dashboards. That's what gives the div a display: flex when it works (incorrectly but with flex applied). So maybe dashboards is overriding what you thought would get pulled in. Maybe include a libraries.yml in layout_collapse and call the css explicitly? Though they'll both maybe compete to define the same classes.. |
@multilectical What i was saying is that core's two-column layouts also look terrible, and should also be fixed— it is not, in my first test, a problem specific to Layout Collapse. If core's two column layouts can be fixed by bringing in Dashboard module's CSS there too somehow, we can do that, but i'm really not sure that's the right fix, as Dashboard module should not be required for Layout Collapse nor really for PECE, and if it is Dashboard module messing things up we could and maybe should ditch it. |
From Zulip:
The text was updated successfully, but these errors were encountered: