Resolves #136. I copied over some styles from the options page and the settings svg from the component.
Works perfectly in Edge, but in Firefox the popup stays open when the options page is open (but it disappears once you click on something in the options page).
I tried two options to fix that:
adding an inline script to manually close the popup: gives me a Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). error.
adding a separate js script file to do the same: webpack says Error: document is not defined
Resolves #136. I copied over some styles from the options page and the settings svg from the component.
Works perfectly in Edge, but in Firefox the popup stays open when the options page is open (but it disappears once you click on something in the options page).
I tried two options to fix that:
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
error.Error: document is not defined
So this is a work in progress.