chore: Follow up message design
This commit is contained in:
parent
8dd1b6dd8b
commit
2b046b916e
1 changed files with 10 additions and 3 deletions
|
|
@ -422,11 +422,14 @@ class Message extends StatelessWidget {
|
||||||
Padding(
|
Padding(
|
||||||
padding:
|
padding:
|
||||||
const EdgeInsets.only(
|
const EdgeInsets.only(
|
||||||
top: 4.0,
|
bottom: 8.0,
|
||||||
|
left: 16.0,
|
||||||
|
right: 16.0,
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize:
|
mainAxisSize:
|
||||||
MainAxisSize.min,
|
MainAxisSize.min,
|
||||||
|
spacing: 4.0,
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
Icons.edit_outlined,
|
Icons.edit_outlined,
|
||||||
|
|
@ -435,11 +438,15 @@ class Message extends StatelessWidget {
|
||||||
size: 14,
|
size: 14,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
' - ${displayEvent.originServerTs.localizedTimeShort(context)}',
|
displayEvent
|
||||||
|
.originServerTs
|
||||||
|
.localizedTimeShort(
|
||||||
|
context,
|
||||||
|
),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: textColor
|
color: textColor
|
||||||
.withAlpha(164),
|
.withAlpha(164),
|
||||||
fontSize: 12,
|
fontSize: 11,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue