mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
Merge pull request #706 from krille-chan/braid/message-position-desktop
fix: message bubble position on desktop devices
This commit is contained in:
commit
aedc1c4123
1 changed files with 24 additions and 22 deletions
|
@ -368,7 +368,8 @@ class Message extends StatelessWidget {
|
|||
container = Opacity(opacity: 0.4, child: container);
|
||||
}
|
||||
|
||||
return Swipeable(
|
||||
return Center(
|
||||
child: Swipeable(
|
||||
key: ValueKey(event.eventId),
|
||||
background: const Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12.0),
|
||||
|
@ -394,6 +395,7 @@ class Message extends StatelessWidget {
|
|||
child: container,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue