Truncar textos dos cards de tarefas para layout padronizado

- Truncar descrição em 120 caracteres no JS com tooltip do texto completo
- Truncar nome com ellipsis via CSS
- Limitar descrição a 2 linhas com max-height
This commit is contained in:
Frederico Castro
2026-02-28 00:59:25 -03:00
parent c29aa695d4
commit bbfb9864bd
2 changed files with 5 additions and 1 deletions

View File

@@ -3364,6 +3364,9 @@ tbody tr:hover td {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.task-card-description {
@@ -3374,6 +3377,7 @@ tbody tr:hover td {
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
max-height: 3em;
}
.task-card-footer {