Skip to content

Commit 3fc791e

Browse files
committed
Vue lab - fixed CSS
1 parent 02610f2 commit 3fc791e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

4 - Frameworks/Ejercicios/VUE/vue-lab/todo-app/components/SearchBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const search = () => {
2222
}
2323
2424
.search-input {
25-
width: 100%;
25+
width: 98%;
2626
padding: 0.5rem;
2727
font-size: 1rem;
2828
}

4 - Frameworks/Ejercicios/VUE/vue-lab/todo-app/components/TodoLists.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const deleteList = (id: number) => {
125125
}
126126
127127
.new-list-input input {
128-
width: 100%;
128+
width: 90%;
129129
padding: 0.5rem;
130130
margin-bottom: 0.5rem;
131131
border: 1px solid #ddd;

4 - Frameworks/Ejercicios/VUE/vue-lab/todo-app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
{{ showSidebar ? '×' : '☰' }}
99
</button>
1010
<h1>{{ store.activeList?.name || 'Todo App' }}</h1>
11-
<TodoInput @add-todo="addTodo" />
1211
<SearchBar />
12+
<TodoInput @add-todo="addTodo" />
1313
<TodoFilter />
1414
<TodoList :todos="store.filteredTodos" @toggle="toggleTodo" @delete="deleteTodo" />
1515
<TodoActions />

4 - Frameworks/Ejercicios/VUE/vue-lab/todo-app/stores/todo-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineStore } from "pinia";
22
import { ref, computed } from "vue";
3-
import type { Todo, FilterType, TodoList } from "~/types/index";
3+
import type { FilterType, TodoList } from "~/types/index";
44

55
export const useTodoStore = defineStore(
66
"todos",

0 commit comments

Comments
 (0)