fix(global_menu): Fix update button is blank

This commit is contained in:
SiriusXT 2025-05-19 18:27:22 +08:00
parent dcb136026b
commit abfdf40e43

View File

@ -53,10 +53,6 @@ const TPL = /*html*/`
pointer-events: none; pointer-events: none;
} }
.update-to-latest-version-button {
display: none;
}
.global-menu .zoom-container { .global-menu .zoom-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -235,7 +231,7 @@ const TPL = /*html*/`
${t("global_menu.about")} ${t("global_menu.about")}
</li> </li>
<li class="dropdown-item update-to-latest-version-button" data-trigger-command="downloadLatestVersion"> <li class="dropdown-item update-to-latest-version-button" style="display:none" data-trigger-command="downloadLatestVersion">
<span class="bx bx-sync"></span> <span class="bx bx-sync"></span>
<span class="version-text"></span> <span class="version-text"></span>