File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function TaskList({
12
12
} ) {
13
13
return (
14
14
< ul
15
- className = "w-1/2 mt-24 flex justify-center flex-col"
15
+ className = "lg: w-1/2 w-full mt-24 flex justify-center flex-col"
16
16
>
17
17
{ [ ...tasks ] . reverse ( ) . map ( ( task : any ) => (
18
18
< li className = "flex flex-row w-full my-2" key = { task . id } >
@@ -101,7 +101,7 @@ function Task({
101
101
return (
102
102
< label className = "w-full grid grid-cols-5 grid-rows-1" >
103
103
< input
104
- className = "checkbox self-center checkbox-lg"
104
+ className = "checkbox self-center checkbox-lg ml-4 lg:ml-0 "
105
105
type = "checkbox"
106
106
checked = { task . done }
107
107
onChange = { ( e ) => {
@@ -123,7 +123,7 @@ function Task({
123
123
onDelete ( task . id ) ;
124
124
playSoundDelete ( ) ;
125
125
} }
126
- className = "btn btn-md btn-circle btn-outline btn-error self-end justify-self-end"
126
+ className = "btn btn-md btn-circle btn-outline btn-error self-end justify-self-end mr-4 lg:mr-0 "
127
127
>
128
128
< TrashIcon />
129
129
</ button >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import TaskApp from "./Components/TasksApp/TaskApp";
4
4
5
5
export default function Home ( ) {
6
6
return (
7
- < main className = "flex min-h-screen flex-col items-center p-24 pt-0" >
7
+ < main className = "flex min-h-screen flex-col items-center lg:pt-0 lg: p-24 md:p-0 pt-0" >
8
8
< TaskApp />
9
9
</ main >
10
10
) ;
You can’t perform that action at this time.
0 commit comments