Change badges and button size

This commit is contained in:
Owen
2025-10-20 20:11:13 -07:00
committed by Pallavi Kumari
parent 7a6838f5a5
commit 70aeaf7b5d
4 changed files with 4 additions and 6 deletions

View File

@@ -76,7 +76,6 @@ export default function DomainSettingsPage() {
/>
<Button
variant="outline"
size="sm"
onClick={() => restartDomain(domain.domainId)}
disabled={isRestarting}
>

View File

@@ -110,8 +110,8 @@ export default function DNSRecordsTable({ records, domainId, isRefreshing }: Pro
verified ? (
<Badge variant="green">{t("verified")}</Badge>
) : (
<Badge variant="destructive">
{t("failed", { fallback: "Failed" })}
<Badge variant="yellow">
{t("pending", { fallback: "Pending" })}
</Badge>
)
);

View File

@@ -114,7 +114,6 @@ export function DNSRecordsDataTable<TData, TValue>({
</div>
<Button
variant="outline"
size="sm"
>
<ExternalLink className="h-4 w-4 mr-1"/>
{t("howToAddRecords")}

View File

@@ -247,8 +247,8 @@ export default function DomainInfoCard({ orgId, domainId }: DomainInfoCardProps)
{domain.verified ? (
<Badge variant="green">{t("verified")}</Badge>
) : (
<Badge variant="destructive">
{t("failed", { fallback: "Failed" })}
<Badge variant="yellow">
{t("pending", { fallback: "Pending" })}
</Badge>
)}
</InfoSectionContent>