Przeglądaj źródła

Fix possible excessive width of drop-down box.

Ian Walton 3 lat temu
rodzic
commit
7a87bcde75
1 zmienionych plików z 1 dodań i 0 usunięć
  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");