From 95e7fd22bbc140729bcb2fa26c7c4973300dd04e Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Mon, 19 Oct 2020 12:02:01 +0530 Subject: [PATCH] fix: Corrected padding and giphy chip --- lib/src/message_input.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index f8cf4255..c7548b37 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -298,6 +298,7 @@ class MessageInputState extends State { prefix: _giphyEnabled ? Chip( backgroundColor: StreamChatTheme.of(context).accentColor, label: Row( + mainAxisSize: MainAxisSize.min, children: [ Icon(StreamIcons.lightning, color: Colors.white,), SizedBox(width: 2,), @@ -646,7 +647,7 @@ class MessageInputState extends State { return Center( child: InkWell( child: Padding( - padding: const EdgeInsets.all(8.0), + padding: const EdgeInsets.only(left: 8.0, right: 4.0, top: 8.0, bottom: 8.0), child: Icon(StreamIcons.lightning), ), onTap: () { @@ -662,7 +663,7 @@ class MessageInputState extends State { return Center( child: InkWell( child: Padding( - padding: const EdgeInsets.all(8.0), + padding: const EdgeInsets.only(left: 4.0, right: 8.0, top: 8.0, bottom: 8.0), child: Icon(StreamIcons.attach), ), onTap: () {