You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
In the deployed Netlify CMS, project CSS is correctly applied to the Preview Panel. However, on the Netlify CMS of my local dev environment, project CSS is applied to the entire Netlify CMS dashboard, and not the Preview Panel.
If the current behavior is a bug, please provide the steps to reproduce.
I'm using Stylus with gatsby-plugin-stylus, but I don't believe the issue to be with the plugin, because CSS is working correctly everywhere except for the local Netlify CMS.
This is causing every div in the local Netlify CMS to have a green background, but the local Preview Panel still has totally default styles.
What is the expected behavior?
Project CSS should only be applied to the Preview Panel and not the Netlify CMS dashboard itself for the local environment and deployed site.
Other relevant information:
I'm not getting any build errors/warnings in my terminal.
http://localhost:8000/admin/#/collections/pages/entries/index has this warning in the console: Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8000/admin/cms.css".
Bug report
What is the current behavior?
In the deployed Netlify CMS, project CSS is correctly applied to the Preview Panel. However, on the Netlify CMS of my local dev environment, project CSS is applied to the entire Netlify CMS dashboard, and not the Preview Panel.
My repo can be found here
The only CSS I have in my project is:
and my local CMS looks like this:
whereas the deployed CMS looks like this:
If the current behavior is a bug, please provide the steps to reproduce.
I'm using Stylus with
gatsby-plugin-stylus
, but I don't believe the issue to be with the plugin, because CSS is working correctly everywhere except for the local Netlify CMS.This is causing every
div
in the local Netlify CMS to have a green background, but the local Preview Panel still has totally default styles.What is the expected behavior?
Project CSS should only be applied to the Preview Panel and not the Netlify CMS dashboard itself for the local environment and deployed site.
Other relevant information:
http://localhost:8000/admin/#/collections/pages/entries/index
has this warning in the console:Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8000/admin/cms.css".
The text was updated successfully, but these errors were encountered: