Added back the delete button
This commit is contained in:
+33
-1
@@ -116,9 +116,16 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.task-list__item form {
|
||||
.task-list__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .5rem;
|
||||
}
|
||||
|
||||
.task-list__completion-form {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
gap: .75rem;
|
||||
}
|
||||
|
||||
@@ -177,6 +184,31 @@ body {
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.task-list__remove {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
color: #ffe0e0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: .5rem;
|
||||
transition: color .15s ease, background-color .15s ease, transform .15s ease;
|
||||
}
|
||||
|
||||
.task-list__remove:hover {
|
||||
color: #fff;
|
||||
background-color: #a71d1d;
|
||||
transform: scale(1.08);
|
||||
}
|
||||
|
||||
.task-list__remove:focus-visible {
|
||||
outline: 3px solid #fff;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.task-list__title {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user