primocms / primo

Primo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
https://primocms.org
MIT License
1.97k stars 514 forks source link

Window doesn't resize when closing inspector #284

Open mateomorris opened 1 year ago

mateomorris commented 1 year ago

Opening the dom inspector in edit mode and then closing the inspector doesn't resize the editor back to the correct viewport width. You have to refresh the browser

SrGeneroso commented 1 year ago

It happend to me a couple times but was hard to replicate it again, maybe has to do with --right-pane-size (at least that property is the one defining the size now) when you go less than --min-right-pane-size. image I'll dig a little more.