From 516a779626e83afc1c48ba44b1a924d8a0578e84 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Fri, 6 Jun 2025 12:27:52 +0530 Subject: [PATCH] fix: Replace Row with Wrap for employee name and job role display to support multiline text --- lib/view/employees/employees_screen.dart | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/view/employees/employees_screen.dart b/lib/view/employees/employees_screen.dart index 87d1882..3f8376f 100644 --- a/lib/view/employees/employees_screen.dart +++ b/lib/view/employees/employees_screen.dart @@ -268,16 +268,21 @@ class _EmployeesScreenState extends State with UIMixin { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Row( + Wrap( + crossAxisAlignment: WrapCrossAlignment.center, + spacing: 6, children: [ MyText.titleMedium( employee.name, fontWeight: 600, + overflow: TextOverflow.visible, + maxLines: null, ), - const SizedBox(width: 6), MyText.titleSmall( '(${employee.jobRole})', fontWeight: 400, + overflow: TextOverflow.visible, + maxLines: null, ), ], ),