fix(task): break long task titles after 4 lines only

Resolves https://github.com/go-vikunja/frontend/issues/84
Resolves https://community.vikunja.io/t/text-wrap-on-lists/1441
This commit is contained in:
kolaente 2023-06-23 14:28:06 +02:00
parent 8a22d1811e
commit a446310986
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 7 additions and 2 deletions

View File

@ -275,10 +275,15 @@ function hideDeferDueDatePopup(e) {
.tasktext,
&.tasktext {
white-space: nowrap;
text-overflow: ellipsis;
word-wrap: break-word;
word-break: break-word;
display: -webkit-box;
hyphens: auto;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
display: inline-block;
flex: 1 0 50%;
.dueDate {