@@ -75,36 +75,33 @@ export default function Sidebar() {
75
75
Skip to main content
76
76
</ a >
77
77
78
- < div className = "flex flex-col bg-base-200 min-h-full max-w-64 py-4 px-4" >
79
- < div className = "flex flex-row items-center justify-between mb-4 mt-4" >
80
- < h2 className = "font-bold ml-4" role = "heading" >
81
- Conversations
82
- </ h2 >
83
-
78
+ < div className = "flex flex-col bg-base-200 min-h-full max-w-64 pb-4 px-4" >
79
+ < div className = "flex flex-row items-center justify-between leading-10 py-2 border-b border-base-content/10" >
84
80
{ /* close sidebar button */ }
81
+ < label className = "w-8 h-8 p-0 max-lg:hidden" > </ label >
85
82
< label
86
83
htmlFor = "toggle-drawer"
87
- className = "btn btn-ghost lg:hidden"
84
+ className = "btn btn-ghost w-8 h-8 p-0 rounded-full lg:hidden"
88
85
aria-label = "Close sidebar"
89
86
role = "button"
90
87
tabIndex = { 0 }
91
88
>
92
89
< XMarkIcon className = "w-5 h-5" />
93
90
</ label >
94
- </ div >
95
91
96
- { /* new conversation button */ }
97
- < button
98
- className = { classNames ( {
99
- 'btn btn-ghost justify-start px-2' : true ,
100
- 'btn-soft' : ! currConv ,
101
- } ) }
102
- onClick = { ( ) => navigate ( '/' ) }
103
- aria-label = "New conversation"
104
- >
105
- < PencilSquareIcon className = "w-5 h-5" />
106
- New conversation
107
- </ button >
92
+ < h2 className = "font-bold" role = "heading" >
93
+ Conversations
94
+ </ h2 >
95
+
96
+ { /* new conversation button */ }
97
+ < button
98
+ className = "btn btn-ghost w-8 h-8 p-0 rounded-full"
99
+ onClick = { ( ) => navigate ( '/' ) }
100
+ aria-label = "New conversation"
101
+ >
102
+ < PencilSquareIcon className = "w-5 h-5" />
103
+ </ button >
104
+ </ div >
108
105
109
106
{ /* list of conversations */ }
110
107
{ groupedConv . map ( ( group , i ) => (
0 commit comments