From 54200986ab11a67748249aaca7cf8554e79a6b09 Mon Sep 17 00:00:00 2001 From: Guillermo Arrieta Medina Date: Thu, 26 Mar 2026 14:11:09 -0600 Subject: [PATCH] Espaciado ahora es consistente --- .../asignaturas/detalle/AsignaturaDetailPage.tsx | 2 +- .../asignaturas/detalle/BibliographyItem.tsx | 2 +- .../asignaturas/detalle/ContenidoTematico.tsx | 2 +- .../wizard/PasoFuenteClonadoInterno.tsx | 2 +- src/components/wizard/WizardLayout.tsx | 6 +++--- src/routes/dashboard.tsx | 2 +- src/routes/planes/$planId/_detalle.tsx | 2 +- src/routes/planes/$planId/_detalle/asignaturas.tsx | 2 +- src/routes/planes/$planId/_detalle/documento.tsx | 2 +- src/routes/planes/$planId/_detalle/flujo.tsx | 2 +- src/routes/planes/$planId/_detalle/historial.tsx | 2 +- src/routes/planes/$planId/_detalle/iaplan.tsx | 6 +++--- src/routes/planes/$planId/_detalle/index.tsx | 2 +- .../$planId/asignaturas/$asignaturaId/route.tsx | 8 ++++---- src/routes/planes/_lista.tsx | 14 ++++++++++++-- 15 files changed, 33 insertions(+), 23 deletions(-) diff --git a/src/components/asignaturas/detalle/AsignaturaDetailPage.tsx b/src/components/asignaturas/detalle/AsignaturaDetailPage.tsx index cf97662..7cacce6 100644 --- a/src/components/asignaturas/detalle/AsignaturaDetailPage.tsx +++ b/src/components/asignaturas/detalle/AsignaturaDetailPage.tsx @@ -232,7 +232,7 @@ function DatosGenerales({ if (isLoading) return

Cargando información...

return ( -
+
{/* Encabezado de la Sección */}
diff --git a/src/components/asignaturas/detalle/BibliographyItem.tsx b/src/components/asignaturas/detalle/BibliographyItem.tsx index c566c3a..a6c4b37 100644 --- a/src/components/asignaturas/detalle/BibliographyItem.tsx +++ b/src/components/asignaturas/detalle/BibliographyItem.tsx @@ -125,7 +125,7 @@ export function BibliographyItem() { return
Cargando bibliografía...
return ( -
+

diff --git a/src/components/asignaturas/detalle/ContenidoTematico.tsx b/src/components/asignaturas/detalle/ContenidoTematico.tsx index 70a5165..806d7af 100644 --- a/src/components/asignaturas/detalle/ContenidoTematico.tsx +++ b/src/components/asignaturas/detalle/ContenidoTematico.tsx @@ -662,7 +662,7 @@ export function ContenidoTematico() { } return ( -
+

diff --git a/src/components/asignaturas/wizard/PasoFuenteClonadoInterno.tsx b/src/components/asignaturas/wizard/PasoFuenteClonadoInterno.tsx index 17d629f..4a1ae4b 100644 --- a/src/components/asignaturas/wizard/PasoFuenteClonadoInterno.tsx +++ b/src/components/asignaturas/wizard/PasoFuenteClonadoInterno.tsx @@ -163,7 +163,7 @@ export function PasoFuenteClonadoInterno({ return (
- + Fuente diff --git a/src/components/wizard/WizardLayout.tsx b/src/components/wizard/WizardLayout.tsx index 96fb1a5..77b2594 100644 --- a/src/components/wizard/WizardLayout.tsx +++ b/src/components/wizard/WizardLayout.tsx @@ -25,7 +25,7 @@ export function WizardLayout({ }} >
- + {title}
-
+
{children}
diff --git a/src/routes/dashboard.tsx b/src/routes/dashboard.tsx index 2dc7df5..862ba12 100644 --- a/src/routes/dashboard.tsx +++ b/src/routes/dashboard.tsx @@ -30,7 +30,7 @@ function RouteComponent() { 4. px-4 md:px-6: Padding RESPONSIVO interno (seguro para móviles y desktop). 5. py-6: Padding vertical (opcional, para separarse del header). */} -
+
-
+
{/* 2. Header del Plan */} {isLoading ? ( /* ===== SKELETON ===== */ diff --git a/src/routes/planes/$planId/_detalle/asignaturas.tsx b/src/routes/planes/$planId/_detalle/asignaturas.tsx index 8de9d88..cd0ef8a 100644 --- a/src/routes/planes/$planId/_detalle/asignaturas.tsx +++ b/src/routes/planes/$planId/_detalle/asignaturas.tsx @@ -129,7 +129,7 @@ function AsignaturasPage() { } return ( -
+
{/* Header */}
diff --git a/src/routes/planes/$planId/_detalle/documento.tsx b/src/routes/planes/$planId/_detalle/documento.tsx index 2c2bdbf..2e1cd47 100644 --- a/src/routes/planes/$planId/_detalle/documento.tsx +++ b/src/routes/planes/$planId/_detalle/documento.tsx @@ -102,7 +102,7 @@ function RouteComponent() { } } return ( -
+
{/* HEADER DE ACCIONES */}
diff --git a/src/routes/planes/$planId/_detalle/flujo.tsx b/src/routes/planes/$planId/_detalle/flujo.tsx index eb3ba17..61d6272 100644 --- a/src/routes/planes/$planId/_detalle/flujo.tsx +++ b/src/routes/planes/$planId/_detalle/flujo.tsx @@ -18,7 +18,7 @@ function RouteComponent() { console.log(rawData) return ( -
+
{/* Header Informativo (Opcional, si no viene del layout padre) */}
diff --git a/src/routes/planes/$planId/_detalle/historial.tsx b/src/routes/planes/$planId/_detalle/historial.tsx index 51c3b30..345b8c6 100644 --- a/src/routes/planes/$planId/_detalle/historial.tsx +++ b/src/routes/planes/$planId/_detalle/historial.tsx @@ -125,7 +125,7 @@ function RouteComponent() { ) return ( -
+

diff --git a/src/routes/planes/$planId/_detalle/iaplan.tsx b/src/routes/planes/$planId/_detalle/iaplan.tsx index 2329252..ffaee91 100644 --- a/src/routes/planes/$planId/_detalle/iaplan.tsx +++ b/src/routes/planes/$planId/_detalle/iaplan.tsx @@ -581,7 +581,7 @@ function RouteComponent() { } return ( -
+
{/* --- HEADER MÓVIL (Solo visible en < md) --- */}