mirror of
https://github.com/tommyxchow/frosty.git
synced 2025-08-06 08:51:29 +08:00
Fix multiline message clipping text fields (#298)
* Reduce chat text field max lines to 3 * Increase text field content padding
This commit is contained in:
@ -151,7 +151,7 @@ class ChatBottomBar extends StatelessWidget {
|
||||
textInputAction: TextInputAction.send,
|
||||
focusNode: chatStore.textFieldFocusNode,
|
||||
minLines: 1,
|
||||
maxLines: 5,
|
||||
maxLines: 3,
|
||||
enabled: chatStore.auth.isLoggedIn ? true : false,
|
||||
decoration: InputDecoration(
|
||||
prefixIcon: chatStore.settings.emoteMenuButtonOnLeft
|
||||
|
@ -36,7 +36,7 @@ class FrostyThemes {
|
||||
surfaceTintColor: backgroundColor,
|
||||
),
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
contentPadding: const EdgeInsets.symmetric(horizontal: 20, vertical: 8),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(100)),
|
||||
borderSide: BorderSide(color: secondaryBackground),
|
||||
|
Reference in New Issue
Block a user