fix padding
This commit is contained in:
@@ -313,7 +313,7 @@ class GiphyAttachment extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
padding: const EdgeInsets.only(top: 8.0),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
|
|||||||
@@ -293,8 +293,9 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
..._parseAttachments(context),
|
..._parseAttachments(context),
|
||||||
if (widget.message.text
|
if (widget.message.text
|
||||||
.trim()
|
.trim()
|
||||||
.isNotEmpty)
|
.isNotEmpty &&
|
||||||
|
!isGiphy)
|
||||||
_buildTextBubble(context),
|
_buildTextBubble(context),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@@ -314,19 +315,6 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
.reactionsBorderColor,
|
.reactionsBorderColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
|
||||||
: Column(
|
|
||||||
crossAxisAlignment:
|
|
||||||
CrossAxisAlignment.start,
|
|
||||||
mainAxisSize: MainAxisSize.min,
|
|
||||||
children: <Widget>[
|
|
||||||
..._parseAttachments(context),
|
|
||||||
if (widget.message.text
|
|
||||||
.trim()
|
|
||||||
.isNotEmpty &&
|
|
||||||
!isGiphy)
|
|
||||||
_buildTextBubble(context),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user