fixed table and search

This commit is contained in:
2026-01-21 12:10:05 +01:00
parent e876cb9775
commit 49435b8e44
429 changed files with 456 additions and 1 deletions
+44
View File
@@ -79,6 +79,50 @@
text-align: center;
vertical-align: middle;
}
/* --- FIX colonne lunghe: tronca con ellissi --- */
#tabellaMescole {
table-layout: fixed;
/* fondamentale: rende fisse le larghezze */
width: 100% !important;
}
#tabellaMescole th,
#tabellaMescole td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
/* una riga sola */
}
/* Larghezze consigliate (aggiusta se vuoi) */
#tabellaMescole th:nth-child(2),
#tabellaMescole td:nth-child(2) {
/* Nome Mescola */
width: 260px;
max-width: 260px;
}
#tabellaMescole th:nth-child(3),
#tabellaMescole td:nth-child(3) {
/* Nome Uscita */
width: 260px;
max-width: 260px;
}
/* facoltativo: azioni sempre leggibili */
#tabellaMescole th:nth-child(5),
#tabellaMescole td:nth-child(5) {
width: 230px;
max-width: 230px;
}
/* ID sempre piccolo */
#tabellaMescole th:nth-child(1),
#tabellaMescole td:nth-child(1) {
width: 70px;
max-width: 70px;
}
</style>
</head>