@@ -30,14 +30,10 @@ export function List({ data: unfilteredListItems, listPath }: Props) {
30
30
31
31
const Header = ( ) => {
32
32
return (
33
- < p className = "Header text-center" >
34
- Your list items are organized based on when you need to buy them. Items
35
- that need to be purchased soonest are at the top. If two or more items
36
- are due at the same time, they will be sorted alphabetically. If an
33
+ < p className = "Header text-center h4" >
34
+ Your list items are organized based on when you need to buy them. If an
37
35
items purchase date has passed, it will be marked as overdue and placed
38
- at the top of the list. Additionally, items that have not been used
39
- recently will be labeled as inactive and moved to the bottom of your
40
- list.
36
+ at the top of the list.
41
37
</ p >
42
38
) ;
43
39
} ;
@@ -52,8 +48,7 @@ export function List({ data: unfilteredListItems, listPath }: Props) {
52
48
< Container >
53
49
< h2 className = "ListName" > { listName } </ h2 >
54
50
< section className = "d-flex flex-column justify-content-center text-center align-items-center" >
55
- < Header />
56
- < h3 >
51
+ < h3 className = "mt-5" >
57
52
You haven’t added any items yet.
58
53
< br />
59
54
Let’s get started by adding your first item!
@@ -90,11 +85,11 @@ export function List({ data: unfilteredListItems, listPath }: Props) {
90
85
// Main content when list is not empty
91
86
return (
92
87
< Container className = "ListPageContainer" >
93
- < header >
94
- < h2 className = "ListName p-1 m-2 mt-2" > { listName } </ h2 >
95
- < Header />
96
- </ header >
97
88
< div className = "ListItemSection" >
89
+ < header >
90
+ < h2 className = "ListName p-1 m-2 mt-2" > { listName } </ h2 >
91
+ </ header >
92
+
98
93
< section className = "d-flex sticky-top flex-nowrap align-items-center justify-content-center" >
99
94
{ unfilteredListItems . length > 0 && (
100
95
< FilterListInput
0 commit comments