Add z-index to popup

trivernis 1 year ago
parent c526911449
commit 01771ee3d3
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -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