refactor: tighten shadcn admin ui polish

This commit is contained in:
hailin
2026-07-02 11:02:59 +08:00
parent 399a5bdb73
commit dbb1ceb0e0
17 changed files with 62 additions and 76 deletions

View File

@@ -8,7 +8,7 @@ type AppEmptyStateProps = {
export function AppEmptyState({ title, description, action }: AppEmptyStateProps) {
return (
<div className="rounded-lg border border-dashed border-border bg-surface px-4 py-8 text-center">
<div className="rounded-lg border border-dashed border-border bg-background px-4 py-8 text-center">
<p className="text-sm font-medium text-foreground">{title}</p>
{description ? <p className="mt-1 text-sm text-muted-foreground">{description}</p> : null}
{action ? <div className="mt-4 flex justify-center">{action}</div> : null}