Fix sizing of event previews
This commit is contained in:
parent
ebbb4dc662
commit
6de046bf7b
2 changed files with 3 additions and 3 deletions
|
|
@ -14,11 +14,12 @@ class EventPreview extends StatelessWidget {
|
|||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 4),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
spacing: 12,
|
||||
children: [
|
||||
if (event.content is MessageContent) MessageAvatar(event),
|
||||
|
||||
Expanded(
|
||||
Flexible(
|
||||
child: Wrap(
|
||||
crossAxisAlignment: WrapCrossAlignment.center,
|
||||
spacing: 8,
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@ class MessageDisplayname extends ConsumerWidget {
|
|||
globalPosition: details.globalPosition,
|
||||
)
|
||||
: null,
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
child: Wrap(
|
||||
spacing: 4,
|
||||
children: [
|
||||
Text(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue