Browse Source

Set default font color on modal and add class.

Ian Walton 4 years ago
parent
commit
389102f9eb
1 changed files with 3 additions and 1 deletions
  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);