Przeglądaj źródła

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

sy 19 godzin temu
rodzic
commit
5a7c6b8c3e

+ 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"}