Skip to content

Commit e3630c5

Browse files
committed
tailwind
1 parent 74c8278 commit e3630c5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/components/TodoList.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ const TodoList = () => {
5454
return (
5555
<div className="flex flex-col container mx-auto max-w-md pt-19 text-white">
5656
<input
57+
className="w-full p-2 rounded-md border border-gray-300"
5758
type="text"
5859
placeholder="Nueva tarea"
59-
className="w-full p-2 rounded-md border border-gray-300"
6060
value={newTodo}
6161
onChange={handleInputChange}
6262
/>
6363

6464
<button
6565
onClick={handleAddTodo}
66-
className="w-full p-2 rounded-md border border-gray-300 mt-10"
66+
className="w-full p-2 rounded-md border border-gray-300"
6767
>
6868
Agregar
6969
</button>

src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import "tailwindcss";
1+
@import "tailwindcss";

vite.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { defineConfig } from "vite"
22
import react from "@vitejs/plugin-react"
33
import tailwindcss from "@tailwindcss/vite"
4-
54
// https://vite.dev/config/
65
export default defineConfig({
76
plugins: [react(), tailwindcss()],

0 commit comments

Comments
 (0)