sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
955 stars 49 forks source link

CMS takes whole window, even with `<div id="nc-root">` #202

Closed bmackinney closed 2 months ago

bmackinney commented 2 months ago

https://decapcms.org/docs/custom-mounting/#gatsby-focus-wrapper indicates I can display a menu in the html above the CMS, but the CMS still covers the whole page. https://github.com/decaporg/decap-cms/issues/1740

kyoshino commented 2 months ago

You should be able to do this, but make sure <div id="nc-root"> actually has a space to render the CMS (with position:absolute, inside fiexbox, etc.) That said, I’m adding a calculated style to unstyled <div id="nc-root">.

image

Screenshot 2024-09-16 at 12 46 09 AM

Also I’m fixing other issues:

kyoshino commented 2 months ago

The fixes shipped with v0.39.4.