forked from firka/firka
fix: long message overflow
This commit is contained in:
@@ -136,21 +136,28 @@ class MessageScreen extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
SizedBox(height: 20),
|
SizedBox(height: 20),
|
||||||
Padding(
|
Flexible(
|
||||||
padding: const EdgeInsets.all(4),
|
fit: FlexFit.loose,
|
||||||
child: Container(
|
child: Padding(
|
||||||
decoration: BoxDecoration(
|
padding: const EdgeInsets.all(4),
|
||||||
color: appStyle.colors.card,
|
child: Container(
|
||||||
borderRadius: BorderRadius.all(Radius.circular(16)),
|
decoration: BoxDecoration(
|
||||||
),
|
color: appStyle.colors.card,
|
||||||
child: Padding(
|
borderRadius: BorderRadius.all(
|
||||||
padding: const EdgeInsets.all(12),
|
Radius.circular(16),
|
||||||
child: Text(
|
),
|
||||||
info.contentText,
|
),
|
||||||
style: appStyle.fonts.B_16R.apply(
|
child: Padding(
|
||||||
color: appStyle.colors.textPrimary,
|
padding: const EdgeInsets.all(12),
|
||||||
|
child: SingleChildScrollView(
|
||||||
|
child: Text(
|
||||||
|
info.contentText,
|
||||||
|
style: appStyle.fonts.B_16R.apply(
|
||||||
|
color: appStyle.colors.textPrimary,
|
||||||
|
),
|
||||||
|
textAlign: TextAlign.start,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
textAlign: TextAlign.start,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user