Explorar o código

Set default font color on modal and add class.

Ian Walton %!s(int64=3) %!d(string=hai) anos
pai
achega
389102f9eb
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      native/nativeshell.js

+ 3 - 1
native/nativeshell.js

@@ -162,12 +162,14 @@ async function showSettingsModal() {
     modalContainer.appendChild(modalContainer2);
 
     const modal = document.createElement("div");
+    modal.className = "jmp-settings-modal";
     Object.assign(modal.style, {
         width: "100%",
         padding: "20px",
         boxSizing: "border-box",
         backgroundColor: "#202020",
-        height: "min-content"
+        height: "min-content",
+        color: "#fff"
     });
     modalContainer2.appendChild(modal);