fix: Replace Row with Wrap for employee name and job role display to support multiline text
This commit is contained in:
parent
0b8a5364ae
commit
516a779626
@ -268,16 +268,21 @@ class _EmployeesScreenState extends State<EmployeesScreen> 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,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user