From fa261ba828ec1118d196055b11685d63154ca40d Mon Sep 17 00:00:00 2001 From: dmolinari Date: Fri, 3 Oct 2025 15:28:51 -0300 Subject: [PATCH] Fix Candidato Partido Estilos Mapa --- .../src/features/legislativas/DevAppLegislativas.tsx | 8 +++----- .../legislativas/nacionales/HomeCarouselWidget.css | 1 + .../legislativas/nacionales/PanelNacional.css | 12 +++++++++++- .../nacionales/components/PanelResultados.tsx | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Elecciones-Web/frontend/src/features/legislativas/DevAppLegislativas.tsx b/Elecciones-Web/frontend/src/features/legislativas/DevAppLegislativas.tsx index 0348feb..1c07354 100644 --- a/Elecciones-Web/frontend/src/features/legislativas/DevAppLegislativas.tsx +++ b/Elecciones-Web/frontend/src/features/legislativas/DevAppLegislativas.tsx @@ -48,6 +48,9 @@ export const DevAppLegislativas = () => {

Visor de Widgets

+ + +

Widget: Carrusel de Resultados (Home)

@@ -137,11 +140,6 @@ export const DevAppLegislativas = () => {

- - - {/* --- OTROS WIDGETS --- */} - -
); }; \ No newline at end of file diff --git a/Elecciones-Web/frontend/src/features/legislativas/nacionales/HomeCarouselWidget.css b/Elecciones-Web/frontend/src/features/legislativas/nacionales/HomeCarouselWidget.css index c476fcc..9e79dfa 100644 --- a/Elecciones-Web/frontend/src/features/legislativas/nacionales/HomeCarouselWidget.css +++ b/Elecciones-Web/frontend/src/features/legislativas/nacionales/HomeCarouselWidget.css @@ -108,6 +108,7 @@ text-overflow: ellipsis; display: block; width: 100%; + text-transform: uppercase; } .candidate-name { font-size: 0.95rem; diff --git a/Elecciones-Web/frontend/src/features/legislativas/nacionales/PanelNacional.css b/Elecciones-Web/frontend/src/features/legislativas/nacionales/PanelNacional.css index 2522047..52bfafe 100644 --- a/Elecciones-Web/frontend/src/features/legislativas/nacionales/PanelNacional.css +++ b/Elecciones-Web/frontend/src/features/legislativas/nacionales/PanelNacional.css @@ -217,12 +217,22 @@ .partido-nombre { font-weight: 700; font-size: 1rem; - /* ANTES: 1.05rem */ color: #212529; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; + text-transform: uppercase; +} + +.partido-nombre-normal { + font-size: 1rem; + color: #212529; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + line-height: 1.2; + text-transform: uppercase; } .candidato-nombre { diff --git a/Elecciones-Web/frontend/src/features/legislativas/nacionales/components/PanelResultados.tsx b/Elecciones-Web/frontend/src/features/legislativas/nacionales/components/PanelResultados.tsx index eb25e50..a0575fc 100644 --- a/Elecciones-Web/frontend/src/features/legislativas/nacionales/components/PanelResultados.tsx +++ b/Elecciones-Web/frontend/src/features/legislativas/nacionales/components/PanelResultados.tsx @@ -84,7 +84,7 @@ export const PanelResultados = ({ resultados, estadoRecuento }: PanelResultadosP {partido.nombreCandidato ? ( <> {partido.nombreCandidato} - {partido.nombreCorto || partido.nombre} + {partido.nombreCorto || partido.nombre} ) : ( {partido.nombreCorto || partido.nombre}