-
Notifications
You must be signed in to change notification settings - Fork 6
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
"EBI VF 1.3 Global Header" no longer needs VF 1.x CSS #403
Comments
Hey Ken, It seems like the footer plugin loads the EBI assets (EBI VF 1.3 Global Footer):
is it safe to remove all three of these includes? I could add them behind an optional include – will that actually be used anywhere? |
After testing it seems the EBI Header does not need For now I'll try and avoid it loading if the plugins are enabled but not actually used on the page. |
Just a quick link on how this can work without the the 1.x CSS, which would reduce a lot the 1.x vs. 2.0 clashes. https://codepen.io/khawkins98/pen/JjXwoKL If it's not that clear, I can pickup on this next week. VF component: https://visual-framework.github.io/vf-core/components/ebi-header-footer/ |
I'll catch up with you on this next week. I've updated the plugin for now to only load the assets where the header/footer is actually used. |
issue #403 conditionally load EBI assets
Enabling the "EBI VF 1.3 Global Header" container also loads the https://dev.ebi.emblstatic.net/web_guidelines/EBI-Framework/v1.3/css/ebi-global.css
This CSS is no longer required for the global header to work, it should be moved to an optional include. Either as a separate optional plugin or component option to enable "EBI VF 1.3 CSS".
This would also have the added benefit of avoiding conflicts between the VF 1.x and VF 2.0 CSS.
The text was updated successfully, but these errors were encountered: