From dc6ec786d04ea892330987e2b5d6b401f8530547 Mon Sep 17 00:00:00 2001 From: Consult AS Technology Date: Tue, 8 Sep 2026 08:36:53 +0000 Subject: [PATCH] fix(responsive): layout 100% width en todas las resoluciones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Eliminado max-w-[1280px] de todas las apps (mi-dia, landing, cotizador, cobranza, dashboards, alta-clientes) - Kanban: sin restricción de ancho, columnas min-w-[220px] - Grids: xl:grid-cols-4/5 para pantallas grandes - CSS base: -webkit-text-size-adjust + min-h-screen - 6 apps construidas --- apps/alta-clientes/src/components/AppHeader.tsx | 2 +- apps/alta-clientes/src/index.css | 5 ++++- apps/alta-clientes/src/pages/AltaClientePage.tsx | 10 +++++----- apps/cobranza/src/components/Layout.tsx | 4 ++-- apps/cobranza/src/index.css | 5 ++++- apps/cobranza/src/pages/DashboardPage.tsx | 2 +- apps/cotizador/src/index.css | 5 ++++- apps/cotizador/src/pages/CotizadorPage.tsx | 4 ++-- apps/dashboards/src/components/MiTablero.tsx | 4 ++-- apps/dashboards/src/components/TableroGeneral.tsx | 4 ++-- apps/dashboards/src/index.css | 5 ++++- apps/dashboards/src/pages/DashboardPage.tsx | 4 ++-- apps/landing/src/App.tsx | 6 +++--- apps/landing/src/components/Navbar.tsx | 2 +- apps/landing/src/components/VistaContactos.tsx | 2 +- apps/landing/src/components/config/ConfigPage.tsx | 2 +- apps/landing/src/index.css | 5 ++++- apps/landing/src/pages/CapturaPage.tsx | 2 +- apps/landing/src/pages/ClientesMaestroPage.tsx | 2 +- apps/mi-dia/src/components/KanbanView.tsx | 8 ++++---- apps/mi-dia/src/index.css | 5 ++++- apps/mi-dia/src/pages/MiDiaPage.tsx | 12 ++++++------ 22 files changed, 59 insertions(+), 41 deletions(-) diff --git a/apps/alta-clientes/src/components/AppHeader.tsx b/apps/alta-clientes/src/components/AppHeader.tsx index 8cc1eb4..28f3430 100644 --- a/apps/alta-clientes/src/components/AppHeader.tsx +++ b/apps/alta-clientes/src/components/AppHeader.tsx @@ -10,7 +10,7 @@ interface Props { export default function AppHeader({ titulo, acciones }: Props) { return (
-
+
-
+
@@ -350,7 +350,7 @@ export default function AltaClientePage() {
-
+

Elige cómo registrar al interesado: captura ligera de afluencia o formato completo de alta. @@ -397,7 +397,7 @@ export default function AltaClientePage() { return (

-
+

Captura rápida del interesado; entra al embudo de ventas. @@ -423,7 +423,7 @@ export default function AltaClientePage() { return (

-
+
{borradores.length > 0 && ( <> @@ -514,7 +514,7 @@ export default function AltaClientePage() { } /> -
+
diff --git a/apps/cobranza/src/components/Layout.tsx b/apps/cobranza/src/components/Layout.tsx index 7a5324c..ebb3537 100644 --- a/apps/cobranza/src/components/Layout.tsx +++ b/apps/cobranza/src/components/Layout.tsx @@ -6,7 +6,7 @@ export default function Layout({ children }: { children: ReactNode }) { return ( ) } diff --git a/apps/cobranza/src/index.css b/apps/cobranza/src/index.css index 038e755..9961ba7 100644 --- a/apps/cobranza/src/index.css +++ b/apps/cobranza/src/index.css @@ -9,8 +9,11 @@ } @layer base { + html { + -webkit-text-size-adjust: 100%; + } body { - @apply bg-[#F8FAFC] text-[#111827] antialiased; + @apply min-h-screen bg-[#F8FAFC] text-[#111827] antialiased; } *:focus-visible { diff --git a/apps/cobranza/src/pages/DashboardPage.tsx b/apps/cobranza/src/pages/DashboardPage.tsx index 3fd3852..e8424b7 100644 --- a/apps/cobranza/src/pages/DashboardPage.tsx +++ b/apps/cobranza/src/pages/DashboardPage.tsx @@ -237,7 +237,7 @@ export default function DashboardPage() { )} {/* KPIs */} -
+
-
+
{/* Encabezado de página */}
@@ -556,7 +556,7 @@ export default function CotizadorPage() {
) : (
-
+
{propuestas.map((p, i) => ( +

Mi tablero

{resumen && ( @@ -70,7 +70,7 @@ export default function MiTablero({ alCambiarAcciones }: { alCambiarAcciones: (a {resumen && ( <> -
+
+

Tablero comercial

{resumen && ( @@ -109,7 +109,7 @@ export default function TableroGeneral({ {resumen && ( <> -
+
-
+
{vista === null ? ( -
+

Tu rol no tiene tableros asignados por ahora.

) : vista === 'mia' ? ( diff --git a/apps/landing/src/App.tsx b/apps/landing/src/App.tsx index 48211b1..ba23130 100644 --- a/apps/landing/src/App.tsx +++ b/apps/landing/src/App.tsx @@ -90,7 +90,7 @@ export default function App() { setVista('configuraciones')} /> -
+

-
-
+
+
-