Fix Candidato Partido Estilos Mapa

This commit is contained in:
2025-10-03 15:28:51 -03:00
parent 3c8c4917fd
commit fa261ba828
4 changed files with 16 additions and 7 deletions

View File

@@ -108,6 +108,7 @@
text-overflow: ellipsis;
display: block;
width: 100%;
text-transform: uppercase;
}
.candidate-name {
font-size: 0.95rem;

View File

@@ -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 {

View File

@@ -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>