chore: account for column width when calculating maxWidth for message bubble with extra content
This commit is contained in:
parent
90a41a57db
commit
9250d5681f
1 changed files with 8 additions and 2 deletions
|
|
@ -158,7 +158,10 @@ class OverlayMessage extends StatelessWidget {
|
|||
FluffyThemes.columnWidth * 1.5,
|
||||
MediaQuery.of(context).size.width -
|
||||
(ownMessage ? 0 : Avatar.defaultSize) -
|
||||
24.0,
|
||||
32.0 -
|
||||
(FluffyThemes.isColumnMode(context)
|
||||
? FluffyThemes.columnWidth + FluffyThemes.navRailWidth
|
||||
: 0.0),
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
|
|
@ -243,7 +246,10 @@ class OverlayMessage extends StatelessWidget {
|
|||
FluffyThemes.columnWidth * 1.5,
|
||||
MediaQuery.of(context).size.width -
|
||||
(ownMessage ? 0 : Avatar.defaultSize) -
|
||||
24.0,
|
||||
32.0 -
|
||||
(FluffyThemes.isColumnMode(context)
|
||||
? FluffyThemes.columnWidth + FluffyThemes.navRailWidth
|
||||
: 0.0),
|
||||
),
|
||||
),
|
||||
child: Padding(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue