diff --git a/assets/webui/index.html b/assets/webui/index.html index 0565ea8..fa0bf60 100644 --- a/assets/webui/index.html +++ b/assets/webui/index.html @@ -203,12 +203,6 @@
桌面软件https://ofdgo.aite.me/releases/
项目仓库https://github.com/xiaoqidun/ofdgo
-
@@ -462,6 +456,12 @@
+
diff --git a/assets/webui/ofdgo.css b/assets/webui/ofdgo.css index b88cf86..34e785a 100644 --- a/assets/webui/ofdgo.css +++ b/assets/webui/ofdgo.css @@ -1075,17 +1075,11 @@ button:not(:disabled):hover { overflow-wrap: anywhere; } -.about-associations { +.appearance-associations { padding: 12px; border-top: 1px solid var(--line); } -.association-heading { - margin-bottom: 12px; - font-weight: 600; - white-space: nowrap; -} - .association-row { display: grid; grid-template-columns: 4em minmax(0, 1fr) auto; diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index f3b38a5..9541701 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -2096,9 +2096,7 @@ function formDialogOpen() { async function openAboutPanel() { el.aboutVersion.textContent = "读取中"; - el.associationMessage.hidden = true; documentDialogs.showApplication(el.aboutPanel); - if (nativeHost) void refreshFileAssociations(); let raw = ""; try { const response = await fetch("./", { cache: "no-store" }); @@ -5521,7 +5519,9 @@ async function boot() { const bounds = el.appearanceButton.getBoundingClientRect(); el.appearancePanel.style.setProperty("--appearance-top", `${bounds.bottom + 4}px`); el.appearancePanel.style.setProperty("--appearance-right", `${Math.max(12, innerWidth - bounds.right)}px`); + el.associationMessage.hidden = true; documentDialogs.showApplication(el.appearancePanel); + if (nativeHost) void refreshFileAssociations(); }); for (const button of el.appearancePanel.querySelectorAll("[data-theme-choice]")) button.addEventListener("click", () => window.ofdgoTheme.set(button.dataset.themeChoice)); documentDialogs = new DocumentDialogs({document, titlebar: el.documentTitleBar,