mirror of
https://github.com/LucasVbr/todo-list.git
synced 2026-05-13 17:22:04 +00:00
Handle long task
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user