diff --git a/lib/view/dashboard/Attendence/attendance_screen.dart b/lib/view/dashboard/Attendence/attendance_screen.dart index bd83b76..689d717 100644 --- a/lib/view/dashboard/Attendence/attendance_screen.dart +++ b/lib/view/dashboard/Attendence/attendance_screen.dart @@ -274,20 +274,23 @@ class _AttendanceScreenState extends State with UIMixin { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Row( + Wrap( + crossAxisAlignment: + WrapCrossAlignment.center, + spacing: + 6, // spacing between name and designation children: [ MyText.bodyMedium( employee.name, fontWeight: 600, - overflow: TextOverflow.ellipsis, - maxLines: 1, + overflow: TextOverflow.visible, + maxLines: null, ), - MySpacing.width(6), MyText.bodySmall( '(${employee.designation})', fontWeight: 600, - overflow: TextOverflow.ellipsis, - maxLines: 1, + overflow: TextOverflow.visible, + maxLines: null, color: Colors.grey[700], ), ],