static: reuse the existing button style for sign out (section 31 point 1)

This commit is contained in:
ai-bot committed 2026-10-13 15:37:32 +00:00
1 parent 51b5269b4f
commit eb254f721a
1 file changed
+2 -1
+2 -1
View File
@@ -65,7 +65,8 @@
}
const button = document.createElement("button");
button.type = "button";
button.className = "sign-out";
// The existing secondary button style is reused, so no new CSS is needed.
button.className = "secondary-button sign-out";
button.textContent = "Sign out";
button.addEventListener("click", signOut);
(topbar.querySelector(".topbar-actions") || topbar).append(button);