Skip to content

Commit d0352d3

Browse files
committed
🐛 💄 fix: centered delete button on text overload
1 parent ef6776f commit d0352d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Components/TasksApp/TaskApp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function tasksReducer(tasks: Array<any>, action: any) {
9797
}
9898

9999
const initialTasks = [
100-
{ id: 0, text: "Philosopher’s Path", done: true, isNew: false },
100+
{ id: 0, text: "Contemplate the entropy of the universe", done: true, isNew: false },
101101
{ id: 1, text: "Visit the temple", done: false, isNew: false },
102102
{ id: 2, text: "Drink matcha", done: false, isNew: false },
103103
];

app/Components/TasksApp/TaskList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function Task({
121121
onDelete(task.id);
122122
playSoundDelete();
123123
}}
124-
className="btn btn-md btn-circle btn-outline btn-error self-end justify-self-end mr-4 lg:mr-0"
124+
className="btn btn-md btn-circle btn-outline btn-error self-center justify-self-end mr-4 lg:mr-0"
125125
>
126126
<TrashIcon />
127127
</button>

0 commit comments

Comments
 (0)