Skip to content

Commit 22c4e78

Browse files
committed
refactor: add task as button
1 parent d87d167 commit 22c4e78

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

todo-list/src/App.vue

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
</div>
4646
</div>
4747
</div>
48-
<div class="row">
49-
<div class="column">
50-
<div class="card text-center add-task">
48+
<div class="row add-task">
49+
<div class="column text-center">
50+
<button class="button">
5151
<h3 class="no-margin">Add Task</h3>
52-
</div>
52+
</button>
5353
</div>
5454
</div>
5555
</div>
@@ -159,8 +159,17 @@ export default {
159159
}
160160
161161
.add-task {
162-
padding: 20px;
163162
margin-top: 28px;
163+
.button {
164+
background: #ffffff;
165+
border: 0;
166+
color: $color-secondary;
167+
padding: 20px;
168+
width: 100%;
169+
height: auto;
170+
text-transform: none;
171+
border-radius: 10px;
172+
}
164173
}
165174
}
166175
</style>

0 commit comments

Comments
 (0)