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(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Wrap(
|
||||||
|
crossAxisAlignment: WrapCrossAlignment.center,
|
||||||
|
spacing: 6,
|
||||||
children: [
|
children: [
|
||||||
MyText.titleMedium(
|
MyText.titleMedium(
|
||||||
employee.name,
|
employee.name,
|
||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
|
overflow: TextOverflow.visible,
|
||||||
|
maxLines: null,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 6),
|
|
||||||
MyText.titleSmall(
|
MyText.titleSmall(
|
||||||
'(${employee.jobRole})',
|
'(${employee.jobRole})',
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
|
overflow: TextOverflow.visible,
|
||||||
|
maxLines: null,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user