瀏覽代碼

统一停用和解绑账号按钮样式

sy 19 小時之前
父節點
當前提交
5a7c6b8c3e
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      web-scaffold/src/components/OrganizationAccountDialog.tsx

+ 1 - 1
web-scaffold/src/components/OrganizationAccountDialog.tsx

@@ -272,7 +272,7 @@ export function OrganizationAccountDialog({ target, onClose }: { target: Account
                       <p>{stopped ? "恢复该账号的登录权限。" : "暂停登录权限,之后可重新启用。"}</p>
                     </div>
                     <button
-                      className={stopped ? "org-button org-button-scope" : "org-button org-button-danger"}
+                      className={stopped ? "org-button org-button-scope" : "org-button org-button-quiet org-account-danger-action"}
                       disabled={!userId || busy}
                       title={userId ? undefined : noUserIdNote}
                       aria-expanded={stopped ? undefined : confirmation === "stop"}