realizados cambios

This commit is contained in:
2024-11-13 10:20:15 +01:00
parent e5b892480b
commit 5a6dbe5ca8
8 changed files with 138 additions and 78 deletions

View File

@ -89,6 +89,9 @@ class DatosGenerales {
this.pagColorConsecutivas.on('change', this.#handPaginasConsecutivas.bind(this));
this.papelDiferente.on('change', this.#handlePapelDiferente.bind(this));
this.anchoPersonalizado.on("change", this.#checkValue.bind(this));
this.altoPersonalizado.on("change", this.#checkValue.bind(this));
this.titulo.on('change', () => { $(".titulo").html(this.titulo.val()); });
}
@ -602,6 +605,14 @@ class DatosGenerales {
}
}
#checkValue(event){
let target = event.target;
if(target.value < target.min){
target.value = target.min;
}
}
#handleTipolibro(event) {
// Accede al ID del elemento que disparó el evento
const element = $(event.target);

View File

@ -476,4 +476,12 @@
.texto-resumen-lateral{
font-size: 0.9em;
}
.num-input{
min-width: 100px;
}
.div-num-input{
min-width: 105px;
}