@@ -299,14 +299,14 @@ const TeamDetailView = ({ projectData }: TeamDetailViewProps) => {
299299
300300 < div className = "space-y-4" >
301301
302- < div className = "mb-4 grid grid-cols-2 gap-2 sm:grid-cols-4 " >
302+ < div className = "mb-4 flex flex-wrap items-center gap-2" >
303303
304304 { formatSchedule ( ) && (
305- < div className = "col-span-2 flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800" >
305+ < div className = "flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800" >
306306 < CalendarDays className = "h-4 w-4 text-blue-600 dark:text-blue-400" />
307- < div className = "min-w-0 flex-1 " >
308- < p className = "text-xs font-medium text-gray-900 dark:text-white" > Meeting Schedule</ p >
309- < p className = "truncate text-xs text-gray-600 dark:text-gray-400" > { formatSchedule ( ) } </ p >
307+ < div className = "flex flex-col " >
308+ < p className = "text-xs font-medium text-gray-900 dark:text-white" > Schedule</ p >
309+ < p className = "whitespace-nowrap text-xs text-gray-600 dark:text-gray-400" > { formatSchedule ( ) } </ p >
310310 </ div >
311311 { projectInfo . meeting_link && (
312312 < a href = { projectInfo . meeting_link } target = "_blank" rel = "noopener noreferrer" className = "shrink-0" >
@@ -316,27 +316,25 @@ const TeamDetailView = ({ projectData }: TeamDetailViewProps) => {
316316 </ div >
317317 ) }
318318
319- < div className = "col-span-2" >
320- < ChecklistStatusBanner
321- projectId = { projectInfo . id }
322- teamMembers = { members ?. data || [ ] }
323- teamLead = { teamLead ?. data || null }
324- />
325- </ div >
319+ < ChecklistStatusBanner
320+ projectId = { projectInfo . id }
321+ teamMembers = { members ?. data || [ ] }
322+ teamLead = { teamLead ?. data || null }
323+ />
326324
327325 < div className = "flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800" >
328326 < Users className = "h-4 w-4 text-gray-600 dark:text-gray-400" />
329- < div className = "min-w-0 flex-1 " >
327+ < div className = "flex flex-col " >
330328 < p className = "text-xs font-medium text-gray-900 dark:text-white" > Members</ p >
331- < p className = "text-lg font-bold text-gray-900 dark:text-white" > { totalMembers } </ p >
329+ < p className = "text-lg font-bold leading-none text-gray-900 dark:text-white" > { totalMembers } </ p >
332330 </ div >
333331 </ div >
334332
335333 < div className = "flex items-center gap-2 rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800" >
336334 < TrendingUp className = "h-4 w-4 text-blue-600 dark:text-blue-400" />
337- < div className = "min-w-0 flex-1 " >
335+ < div className = "flex flex-col " >
338336 < p className = "text-xs font-medium text-gray-900 dark:text-white" > Attendance</ p >
339- < p className = "text-lg font-bold text-blue-600 dark:text-blue-400" > +{ monthlyAttendancePoints . totalPoints } </ p >
337+ < p className = "text-lg font-bold leading-none text-blue-600 dark:text-blue-400" > +{ monthlyAttendancePoints . totalPoints } </ p >
340338 </ div >
341339 </ div >
342340
0 commit comments