Added z-index 10000 to make translations panel always above other elements

This commit is contained in:
Georgy Litvinov 2021-07-05 20:38:00 +02:00
parent 1d6dffde72
commit a6a4246fac

View file

@ -41,7 +41,7 @@ function readTranslations() {
function createTranslationsInterface() {
var container = document.createElement("div");
container.setAttribute("id", "translationsContainer");
container.setAttribute("style", "font-size:0.8em !important;width: 440px; resize: horizontal; overflow: auto; padding: 10px; position: absolute;background-color:#f7dd8a;border:1px dotted;");
container.setAttribute("style", "font-size:0.8em !important;width: 440px; resize: horizontal; overflow: auto; padding: 10px; position: absolute;background-color:#f7dd8a;border:1px dotted;z-index:10000");
//document.body.appendChild(container);
var devPanel = document.getElementById("developerPanel");
devPanel.parentNode.insertBefore(container, devPanel.nextSibling);