fix: Corregir espaciado de líneas con doble altura
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 36s
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:
@@ -149,11 +149,13 @@ function handleVariableClick(segment: TextSegment) {
|
|||||||
/* Font B con doble alto */
|
/* Font B con doble alto */
|
||||||
.line-content.font-b.text-double-height {
|
.line-content.font-b.text-double-height {
|
||||||
transform: scaleX(0.825) scaleY(2);
|
transform: scaleX(0.825) scaleY(2);
|
||||||
|
transform-origin: top left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Font B con doble ancho Y alto */
|
/* Font B con doble ancho Y alto */
|
||||||
.line-content.font-b.text-double-width.text-double-height {
|
.line-content.font-b.text-double-width.text-double-height {
|
||||||
transform: scale(1.65, 2);
|
transform: scale(1.65, 2);
|
||||||
|
transform-origin: top left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Línea vacía (feed) */
|
/* Línea vacía (feed) */
|
||||||
@@ -169,15 +171,13 @@ function handleVariableClick(segment: TextSegment) {
|
|||||||
/* Doble alto - escalar verticalmente (Font A) */
|
/* Doble alto - escalar verticalmente (Font A) */
|
||||||
.line-content.text-double-height {
|
.line-content.text-double-height {
|
||||||
transform: scaleY(2);
|
transform: scaleY(2);
|
||||||
line-height: 1.4;
|
transform-origin: top;
|
||||||
padding-bottom: 1.4em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Doble ancho Y alto combinados (Font A) */
|
/* Doble ancho Y alto combinados (Font A) */
|
||||||
.line-content.text-double-width.text-double-height {
|
.line-content.text-double-width.text-double-height {
|
||||||
transform: scale(2, 2);
|
transform: scale(2, 2);
|
||||||
padding-bottom: 1.4em;
|
transform-origin: top left;
|
||||||
margin-bottom: 0.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Línea que excede el límite */
|
/* Línea que excede el límite */
|
||||||
|
|||||||
Reference in New Issue
Block a user