Fix Candidato Partido Estilos Mapa
This commit is contained in:
		| @@ -48,6 +48,9 @@ export const DevAppLegislativas = () => { | ||||
|         <div className="container-legislativas2025"> | ||||
|             <h1>Visor de Widgets</h1> | ||||
|  | ||||
|             <CongresoNacionalWidget eleccionId={2} /> | ||||
|             <PanelNacionalWidget eleccionId={2} /> | ||||
|  | ||||
|             <div style={sectionStyle}> | ||||
|                 <h2>Widget: Carrusel de Resultados (Home)</h2> | ||||
|                 <p style={descriptionStyle}> | ||||
| @@ -137,11 +140,6 @@ export const DevAppLegislativas = () => { | ||||
|                 <ResultadosNacionalesCardsWidget eleccionId={2} focoDistritoId="16" focoCategoriaId={1} cantidadResultados={1} /> | ||||
|  | ||||
|             </div> | ||||
|  | ||||
|  | ||||
|             {/* --- OTROS WIDGETS --- */} | ||||
|             <CongresoNacionalWidget eleccionId={2} /> | ||||
|             <PanelNacionalWidget eleccionId={2} /> | ||||
|         </div> | ||||
|     ); | ||||
| }; | ||||
| @@ -108,6 +108,7 @@ | ||||
|     text-overflow: ellipsis; | ||||
|     display: block; | ||||
|     width: 100%; | ||||
|     text-transform: uppercase; | ||||
| } | ||||
| .candidate-name { | ||||
|     font-size: 0.95rem; | ||||
|   | ||||
| @@ -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 { | ||||
|   | ||||
| @@ -84,7 +84,7 @@ export const PanelResultados = ({ resultados, estadoRecuento }: PanelResultadosP | ||||
|                   {partido.nombreCandidato ? ( | ||||
|                     <> | ||||
|                       <span className="candidato-nombre">{partido.nombreCandidato}</span> | ||||
|                       <span className="partido-nombre">{partido.nombreCorto || partido.nombre}</span> | ||||
|                       <span className="partido-nombre-normal">{partido.nombreCorto || partido.nombre}</span> | ||||
|                     </> | ||||
|                   ) : ( | ||||
|                     <span className="partido-nombre">{partido.nombreCorto || partido.nombre}</span> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user