Procházet zdrojové kódy

Set default font color on modal and add class.

Ian Walton před 4 roky
rodič
revize
389102f9eb
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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);