refactor: update TabsList width and replace custom badge span with Badge component in HistoriaClinica

This commit is contained in:
2026-04-21 08:49:54 -03:00
parent 693a70f877
commit 43ba15090b
+3 -3
View File
@@ -469,7 +469,7 @@ export function HistoriaClinica({
<div className="w-full overflow-x-auto rounded-md pb-2"> <div className="w-full overflow-x-auto rounded-md pb-2">
<Tabs className="w-full" value={tabActivo} onValueChange={setTabActivo}> <Tabs className="w-full" value={tabActivo} onValueChange={setTabActivo}>
<ScrollArea className="w-full rounded-md border bg-background whitespace-nowrap"> <ScrollArea className="w-full rounded-md border bg-background whitespace-nowrap">
<TabsList> <TabsList className="w-full">
<TabsTrigger value="evoluciones"> <TabsTrigger value="evoluciones">
<FileText className="h-3 w-3 sm:h-4 sm:w-4" /> <FileText className="h-3 w-3 sm:h-4 sm:w-4" />
<span>Evoluciones</span> <span>Evoluciones</span>
@@ -1626,9 +1626,9 @@ function SeccionAcidosBase({ ab, patientId, add, update, del }: {
"red"; "red";
return ( return (
<span className={`badge badge-${color}`}> <Badge className={`bg-${color}`}>
{pf.toFixed(1)} {pf.toFixed(1)}
</span> </Badge>
); );
})()}</TableCell> })()}</TableCell>