瀏覽代碼

Fix possible excessive width of drop-down box.

Ian Walton 3 年之前
父節點
當前提交
7a87bcde75
共有 1 個文件被更改,包括 1 次插入0 次删除
  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");