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:
parent
b238e35b4c
commit
45bba5ff1c
2 changed files with 2 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue