chore: Follow up message design

This commit is contained in:
krille-chan 2025-04-22 11:28:41 +02:00
commit 2b046b916e
No known key found for this signature in database

View file

@ -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,
), ),
), ),
], ],