From fc56c3347a42f0ba153da64e63a083dd1de6b168 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Sun, 4 Jan 2026 16:35:43 -0500 Subject: [PATCH] fix clear recent emotes button sizing --- .../chat/emote_menu/recent_emotes_panel.dart | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/lib/screens/channel/chat/emote_menu/recent_emotes_panel.dart b/lib/screens/channel/chat/emote_menu/recent_emotes_panel.dart index fc6d0165..9bd71aa1 100644 --- a/lib/screens/channel/chat/emote_menu/recent_emotes_panel.dart +++ b/lib/screens/channel/chat/emote_menu/recent_emotes_panel.dart @@ -114,13 +114,19 @@ class RecentEmotesPanel extends StatelessWidget { ), SliverFillRemaining( hasScrollBody: false, - child: SafeArea( - child: Padding( - padding: const EdgeInsets.all(12.0), - child: TextButton.icon( - onPressed: () => _showClearDialog(context), - icon: const Icon(Icons.clear_all_rounded), - label: const Text('Clear recent emotes'), + child: Align( + alignment: Alignment.bottomCenter, + child: SafeArea( + child: Padding( + padding: const EdgeInsets.all(12.0), + child: SizedBox( + width: double.infinity, + child: TextButton.icon( + onPressed: () => _showClearDialog(context), + icon: const Icon(Icons.clear_all_rounded), + label: const Text('Clear recent emotes'), + ), + ), ), ), ),