fix(ui-kit): fix accessibility text size scaling in message widget
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -585,7 +585,10 @@ class _MessageWidgetState extends State<MessageWidget>
|
||||
),
|
||||
],
|
||||
),
|
||||
if (showBottomRow) SizedBox(height: 20.0),
|
||||
if (showBottomRow)
|
||||
SizedBox(
|
||||
height: context.textScaleFactor * 20.0,
|
||||
),
|
||||
],
|
||||
),
|
||||
if (showBottomRow)
|
||||
@@ -733,7 +736,7 @@ class _MessageWidgetState extends State<MessageWidget>
|
||||
transform: Matrix4.rotationY(widget.reverse ? pi : 0),
|
||||
alignment: Alignment.center,
|
||||
child: Container(
|
||||
height: 16,
|
||||
height: context.textScaleFactor * 16,
|
||||
child: Center(
|
||||
child: child,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user