Procházet zdrojové kódy

Fix possible excessive width of drop-down box.

Ian Walton před 3 roky
rodič
revize
7a87bcde75
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      native/nativeshell.js

+ 1 - 0
native/nativeshell.js

@@ -208,6 +208,7 @@ async function showSettingsModal() {
                 if (setting.options) {
                     const safeValues = {};
                     const control = document.createElement("select");
+                    control.style.maxWidth = "350px";
                     for (const option of setting.options) {
                         safeValues[String(option.value)] = option.value;
                         const opt = document.createElement("option");