Explorar o código

Fix possible excessive width of drop-down box.

Ian Walton %!s(int64=3) %!d(string=hai) anos
pai
achega
7a87bcde75
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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");