@@ -75,36 +75,33 @@ export default function Sidebar() {
7575 Skip to main content
7676 </ a >
7777
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" >
8480 { /* close sidebar button */ }
81+ < label className = "w-8 h-8 p-0 max-lg:hidden" > </ label >
8582 < label
8683 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"
8885 aria-label = "Close sidebar"
8986 role = "button"
9087 tabIndex = { 0 }
9188 >
9289 < XMarkIcon className = "w-5 h-5" />
9390 </ label >
94- </ div >
9591
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 >
108105
109106 { /* list of conversations */ }
110107 { groupedConv . map ( ( group , i ) => (
0 commit comments