Skip to content

Commit

Permalink
Fix CSS structure for completed items and checkmark button
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 21, 2024
1 parent 35f495d commit cc551e1
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions src/components/TodoList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,10 @@ button:hover {
.modal p {
margin-bottom: 20px;
font-size: 16px;
.todo-text {
flex: 1;
display: flex;
align-items: center;
gap: 10px;
}
.todo-text input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
.todo-text {
flex: 1;
}
.completed {
Expand All @@ -231,6 +224,35 @@ button:hover {
display: flex;
gap: 10px;
}
.edit-btn, .complete-btn, .delete-btn {
background-color: transparent;
border: none;
font-size: 20px;
cursor: pointer;
padding: 0 8px;
}
.edit-btn {
color: #42b983;
}
.edit-btn:hover {
color: #3aa876;
background-color: transparent;
}
.complete-btn {
color: #888;
}
.complete-btn:hover {
color: #42b983;
background-color: transparent;
}
.complete-btn-active {
color: #42b983;
}
.modal-buttons {
Expand Down

0 comments on commit cc551e1

Please sign in to comment.