Update domain details component styling

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/258dd324-1e5b-43ea-ba9a-c1a817c85e67.jpg
This commit is contained in:
alphaeusmote
2025-04-11 03:44:38 +00:00
parent 09c8335e6f
commit 468660c6b2
@@ -489,8 +489,7 @@ export function DomainDetails({ domain, onBack }: DomainDetailsProps) {
<Switch
checked={record.isActive}
onCheckedChange={(checked) => handleToggleActive(record, checked)}
className="data-[state=checked]:bg-green-500"
size="lg"
className="data-[state=checked]:bg-green-500 h-7 w-12"
/>
<span className={record.isActive ? "text-green-700 font-medium" : "text-muted-foreground"}>
{record.isActive ? "Active" : "Inactive"}