refactor: standardize card styles and improve layout across dashboard components
This commit is contained in:
@@ -56,7 +56,7 @@ export function InitialPasswordDialog({
|
||||
{t("user.initialPasswordDescription", { username: username || "-" })}
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="rounded-xl border bg-muted/40 p-4">
|
||||
<div className="rounded-md border bg-muted/35 p-4">
|
||||
<div className="text-xs text-muted-foreground">{t("user.initialPassword")}</div>
|
||||
<div className="mt-2 break-all font-mono text-base">{password}</div>
|
||||
</div>
|
||||
|
||||
@@ -86,7 +86,7 @@ export function ResetPasswordDialogs({
|
||||
{t("user.resetSuccessDescription", { username: item?.username || "-" })}
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="rounded-xl border bg-muted/40 p-4">
|
||||
<div className="rounded-md border bg-muted/35 p-4">
|
||||
<div className="text-xs text-muted-foreground">{t("user.newPassword")}</div>
|
||||
<div className="mt-2 break-all font-mono text-base">{password}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user