fix: Corregir espaciado de líneas con doble altura
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 36s

- Remover padding-bottom y margin-bottom de líneas con doble altura
- El espaciado entre líneas ahora es constante como en la impresora real
- Solo el texto crece, el avance de línea permanece igual
This commit is contained in:
2025-11-26 19:28:51 -06:00
parent 34bb178f97
commit b2f3e7a0bb

View File

@@ -149,11 +149,13 @@ function handleVariableClick(segment: TextSegment) {
/* Font B con doble alto */
.line-content.font-b.text-double-height {
transform: scaleX(0.825) scaleY(2);
transform-origin: top left;
}
/* Font B con doble ancho Y alto */
.line-content.font-b.text-double-width.text-double-height {
transform: scale(1.65, 2);
transform-origin: top left;
}
/* Línea vacía (feed) */
@@ -169,15 +171,13 @@ function handleVariableClick(segment: TextSegment) {
/* Doble alto - escalar verticalmente (Font A) */
.line-content.text-double-height {
transform: scaleY(2);
line-height: 1.4;
padding-bottom: 1.4em;
transform-origin: top;
}
/* Doble ancho Y alto combinados (Font A) */
.line-content.text-double-width.text-double-height {
transform: scale(2, 2);
padding-bottom: 1.4em;
margin-bottom: 0.5em;
transform-origin: top left;
}
/* Línea que excede el límite */