Handle long task

This commit is contained in:
Lucàs
2022-08-16 20:25:17 +02:00
parent 901474aabd
commit 9fdf930767
+1 -2
View File
@@ -25,7 +25,7 @@
id="task-{{ todoItem.id }}" name="task-{{ todoItem.id }}" id="task-{{ todoItem.id }}" name="task-{{ todoItem.id }}"
[(ngModel)]="todoItem.completed" (change)="saveList()"/> [(ngModel)]="todoItem.completed" (change)="saveList()"/>
<span class="label-text">{{ todoItem.task }}</span> <span class="label-text text-base break-all mx-2">{{ todoItem.task }}</span>
<button class="btn btn-error btn-square btn-outline" <button class="btn btn-error btn-square btn-outline"
(click)="removeItem(todoItem.id)"> (click)="removeItem(todoItem.id)">
@@ -40,7 +40,6 @@
</label> </label>
</div> </div>
<div class="card-actions justify-between"> <div class="card-actions justify-between">
You have {{ todoList.length }} pending task(s) You have {{ todoList.length }} pending task(s)
<button class="btn btn-error" (click)="clearList()">Clear All</button> <button class="btn btn-error" (click)="clearList()">Clear All</button>