From 76667e8a19b978f801ea4b48bc9a7f923dab04e9 Mon Sep 17 00:00:00 2001 From: Tomasz Kasprowicz Date: Fri, 25 Dec 2020 12:23:14 +0100 Subject: [PATCH] style update --- src/components/TodoList.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/TodoList.tsx b/src/components/TodoList.tsx index 0755e62..89e77ba 100644 --- a/src/components/TodoList.tsx +++ b/src/components/TodoList.tsx @@ -17,11 +17,11 @@ interface TODOtype { } const TodosStyled = styled.div` - display: flex; + display: grid; height: 92%; overflow: scroll; justify-content: center; - flex-wrap: wrap; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); .description { height: 100px; overflow: scroll; @@ -54,7 +54,7 @@ const TodoList = (props: any) => { return (
End Date: {todo.date}
@@ -88,7 +88,7 @@ const TodoList = (props: any) => { return (
End Date: {todo.date}
@@ -131,7 +131,7 @@ const TodoList = (props: any) => { return (
End Date: {todo.date}
@@ -176,7 +176,7 @@ const TodoList = (props: any) => { return (
End Date: {todo.date}