Added z-index 10000 to make translations panel always above other elements
This commit is contained in:
parent
1d6dffde72
commit
a6a4246fac
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ function readTranslations() {
|
||||||
function createTranslationsInterface() {
|
function createTranslationsInterface() {
|
||||||
var container = document.createElement("div");
|
var container = document.createElement("div");
|
||||||
container.setAttribute("id", "translationsContainer");
|
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);
|
//document.body.appendChild(container);
|
||||||
var devPanel = document.getElementById("developerPanel");
|
var devPanel = document.getElementById("developerPanel");
|
||||||
devPanel.parentNode.insertBefore(container, devPanel.nextSibling);
|
devPanel.parentNode.insertBefore(container, devPanel.nextSibling);
|
||||||
|
|
Loading…
Add table
Reference in a new issue