Merge pull request 'Add z-index to popup' (#10) from main into prod

Reviewed-on: Trivernis/no-chromium#10
Trivernis 1 year ago
commit 0370269e52

@ -2,6 +2,7 @@
<style lang="scss"> <style lang="scss">
#no-chromium-popup { #no-chromium-popup {
z-index: 9999;
position: fixed; position: fixed;
display: flex; display: flex;
height: 100vh; height: 100vh;

@ -13,7 +13,7 @@ async function showNoChromiumPopup() {
document.body.appendChild(child); document.body.appendChild(child);
} }
document.querySelector("#no-chromium-popup").style = ""; document.querySelector("#no-chromium-popup").style = "z-index: 9999;";
document.querySelector("#no-chromium-hide-button").addEventListener("click", hideNoChromiumPopup); document.querySelector("#no-chromium-hide-button").addEventListener("click", hideNoChromiumPopup);
} }
} }

Loading…
Cancel
Save