style update
This commit is contained in:
parent
ab1ee69dda
commit
76667e8a19
@ -17,11 +17,11 @@ interface TODOtype {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const TodosStyled = styled.div`
|
const TodosStyled = styled.div`
|
||||||
display: flex;
|
display: grid;
|
||||||
height: 92%;
|
height: 92%;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||||
.description {
|
.description {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
@ -54,7 +54,7 @@ const TodoList = (props: any) => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="card bg-light"
|
className="card bg-light"
|
||||||
style={{ width: "200px", flexGrow: 1, height: "min-content" }}
|
style={{ height: "min-content" }}
|
||||||
key={todo.hash}
|
key={todo.hash}
|
||||||
>
|
>
|
||||||
<div className="card-header">End Date: {todo.date}</div>
|
<div className="card-header">End Date: {todo.date}</div>
|
||||||
@ -88,7 +88,7 @@ const TodoList = (props: any) => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="card bg-light"
|
className="card bg-light"
|
||||||
style={{ width: "200px", flexGrow: 1, height: "min-content" }}
|
style={{ height: "min-content" }}
|
||||||
key={todo.hash}
|
key={todo.hash}
|
||||||
>
|
>
|
||||||
<div className="card-header">End Date: {todo.date}</div>
|
<div className="card-header">End Date: {todo.date}</div>
|
||||||
@ -131,7 +131,7 @@ const TodoList = (props: any) => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="card bg-light"
|
className="card bg-light"
|
||||||
style={{ width: "200px", flexGrow: 1, height: "min-content" }}
|
style={{ height: "min-content" }}
|
||||||
key={todo.hash}
|
key={todo.hash}
|
||||||
>
|
>
|
||||||
<div className="card-header">End Date: {todo.date}</div>
|
<div className="card-header">End Date: {todo.date}</div>
|
||||||
@ -176,7 +176,7 @@ const TodoList = (props: any) => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="card bg-light"
|
className="card bg-light"
|
||||||
style={{ width: "200px", flexGrow: 1, height: "min-content" }}
|
style={{ height: "min-content" }}
|
||||||
key={todo.hash}
|
key={todo.hash}
|
||||||
>
|
>
|
||||||
<div className="card-header">End Date: {todo.date}</div>
|
<div className="card-header">End Date: {todo.date}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user