File tree 2 files changed +9
-4
lines changed 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 7
7
ArrowDownTrayIcon ,
8
8
EllipsisVerticalIcon ,
9
9
PencilIcon ,
10
+ PencilSquareIcon ,
10
11
TrashIcon ,
11
12
XMarkIcon ,
12
13
} from '@heroicons/react/24/outline' ;
@@ -76,15 +77,19 @@ export default function Sidebar() {
76
77
} ) }
77
78
onClick = { ( ) => navigate ( '/' ) }
78
79
>
79
- + New conversation
80
+ < PencilSquareIcon className = "w-5 h-5" />
81
+ New conversation
80
82
</ div >
81
83
82
84
{ /* list of conversations */ }
83
- { groupedConv . map ( ( group ) => (
84
- < div >
85
+ { groupedConv . map ( ( group , i ) => (
86
+ < div key = { i } >
85
87
{ /* group name (by date) */ }
86
88
{ group . title ? (
87
- < b className = "block text-xs px-2 mb-2 mt-6" > { group . title } </ b >
89
+ // we use btn class here to make sure that the padding/margin are aligned with the other items
90
+ < b className = "btn btn-ghost btn-xs bg-none btn-disabled block text-xs text-base-content text-start px-2 mb-0 mt-6 font-bold" >
91
+ { group . title }
92
+ </ b >
88
93
) : (
89
94
< div className = "h-2" />
90
95
) }
You can’t perform that action at this time.
0 commit comments