Update lib/pages/chat/events/html_message.dart

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
ggurdin 2025-11-17 12:58:11 -05:00 committed by GitHub
parent 913759bc0f
commit 9b37fd884c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -942,7 +942,7 @@ class HtmlMessage extends StatelessWidget {
child: Column(
children: [
if (node.localName == 'nontoken' && overlayController != null)
// fix the vertical alignment for non-tokens (i.e. emojis)
// Use TokenEmojiButton to ensure consistent vertical alignment for non-token elements (e.g., emojis) in practice mode.
TokenEmojiButton(
selectModeNotifier: overlayController!.selectedMode,
enabled: false,