(maybe) fix it?

This commit is contained in:
Oliver Anderson 2024-04-03 15:41:22 +00:00 committed by GitHub
parent ff72167464
commit eb2c20d1b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -317,7 +317,9 @@ function displayGui() {
var modNumber = 1;
var container = document.createElement("div");
container.id = "eaglerpl_gui";
container.style = '@import "https://eaglerforge.github.io/files/newui.css"';
var newUIStyle = document.createElement("style");
newUIStyle.innerHTML = '@import "https://eaglerforge.github.io/files/newui.css"';
container.appendChild(newUIStyle);
var modList = document.createElement("div");
modList.style = "height: calc(var(--local-scale) * 80px);";
modList.class = "menucontainer grid";