From 05693a7ea641b671dfeac7013ae009f005433201 Mon Sep 17 00:00:00 2001 From: Sergio Nicolas Lavaise Date: Thu, 16 Apr 2026 09:10:59 -0300 Subject: [PATCH] Revertir cambios de Cultivos responsive --- src/sections/HistoriaClinica.tsx | 147 ++++++++++++++----------------- 1 file changed, 68 insertions(+), 79 deletions(-) diff --git a/src/sections/HistoriaClinica.tsx b/src/sections/HistoriaClinica.tsx index f933cd6..c65ef94 100644 --- a/src/sections/HistoriaClinica.tsx +++ b/src/sections/HistoriaClinica.tsx @@ -31,7 +31,6 @@ import { } from 'lucide-react'; import { Card, CardContent } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; -import { ScrollArea } from '@/components/ui/scroll-area'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; @@ -1678,85 +1677,75 @@ const resetRes = () => { - {cs.length === 0 ? ( -
- -

No hay cultivos

-
- ) : ( - -
- {cs.map(c => ( - - -
-
-
-
- -
-
-

{c.fechaToma}

-
- {c.tipoMuestra} - {getEstadoLabel(c.estado)} -
-
-
-
- {c.estado === 'NAF/Pendiente' && ( - <> - - - - )} - {c.estado === 'Parcial' && ( - <> - - - - )} - {(c.estado === 'Positivo' || c.estado === 'Negativo') && } - -
-
- {c.protocolo &&

Protocolo: {c.protocolo}

} - {c.observaciones &&

{c.observaciones}

} - {c.estado === 'Parcial' && c.germen && ( -
-

PARCIAL - Germen: {c.germen}

- {(c.sensible || c.resistente) && ( -
- {c.sensible &&

Sensible: {c.sensible}

} - {c.resistente &&

Resistente: {c.resistente}

} -
- )} -
- )} - {c.estado === 'Positivo' && c.germen && ( -
-

Germen: {c.germen}

- {c.fechaResultado &&

Resultado: {c.fechaResultado}

} - {(c.sensible || c.resistente) && ( -
- {c.sensible &&

Sensible a:

{c.sensible}

} - {c.resistente &&

Resistente a:

{c.resistente}

} -
- )} -
- )} - {c.estado === 'Negativo' && ( -
-

Sin crecimiento de microorganismos

- {c.fechaResultado &&

Resultado: {c.fechaResultado}

} -
- )} + {cs.length === 0 ?

No hay cultivos

: + cs.map(c => ( + +
+
+
+
+
- - ))} -
- - )} +
+

{c.fechaToma}

+
+ {c.tipoMuestra} + {getEstadoLabel(c.estado)} +
+
+
+
+ {c.estado === 'NAF/Pendiente' && ( + <> + + + + )} + {c.estado === 'Parcial' && ( + <> + + + + )} + {(c.estado === 'Positivo' || c.estado === 'Negativo') && } + +
+
+ {c.protocolo &&

Protocolo: {c.protocolo}

} + {c.observaciones &&

{c.observaciones}

} + {c.estado === 'Parcial' && c.germen && ( +
+

PARCIAL - Germen: {c.germen}

+ {(c.sensible || c.resistente) && ( +
+ {c.sensible &&

Sensible: {c.sensible}

} + {c.resistente &&

Resistente: {c.resistente}

} +
+ )} +
+ )} + {c.estado === 'Positivo' && c.germen && ( +
+

Germen: {c.germen}

+ {c.fechaResultado &&

Resultado: {c.fechaResultado}

} + {(c.sensible || c.resistente) && ( +
+ {c.sensible &&

Sensible a:

{c.sensible}

} + {c.resistente &&

Resistente a:

{c.resistente}

} +
+ )} +
+ )} + {c.estado === 'Negativo' && ( +
+

Sin crecimiento de microorganismos

+ {c.fechaResultado &&

Resultado: {c.fechaResultado}

} +
+ )} +
+
+ )) + }
); }