diff --git a/lib/pages/chat/chat_input_row.dart b/lib/pages/chat/chat_input_row.dart index b629b93b1a..7f1b400821 100644 --- a/lib/pages/chat/chat_input_row.dart +++ b/lib/pages/chat/chat_input_row.dart @@ -166,7 +166,7 @@ class ChatInputRow extends StatelessWidget { AnimatedContainer( duration: FluffyThemes.animationDuration, curve: FluffyThemes.animationCurve, - width: textMessageOnly ? 0 : 48, + width: textMessageOnly ? 0 : 40, height: height, alignment: Alignment.center, decoration: const BoxDecoration(), @@ -257,7 +257,7 @@ class ChatInputRow extends StatelessWidget { AnimatedContainer( duration: FluffyThemes.animationDuration, curve: FluffyThemes.animationCurve, - width: textMessageOnly ? 0 : 48, + width: textMessageOnly ? 0 : 40, height: height, alignment: Alignment.center, decoration: const BoxDecoration(), @@ -301,7 +301,7 @@ class ChatInputRow extends StatelessWidget { ), Container( height: height, - width: 48, + width: 40, alignment: Alignment.center, child: IconButton( tooltip: L10n.of(context).emojis, diff --git a/lib/pages/chat_list/chat_list_header.dart b/lib/pages/chat_list/chat_list_header.dart index 67fc5b884b..7a85fa214d 100644 --- a/lib/pages/chat_list/chat_list_header.dart +++ b/lib/pages/chat_list/chat_list_header.dart @@ -42,10 +42,13 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { client.onSync.value != null && status.status != SyncStatus.error && client.prevBatch != null; - return TextField( + return SizedBox( + height: 40, + child: TextField( controller: controller.searchController, focusNode: controller.searchFocusNode, textInputAction: TextInputAction.search, + style: const TextStyle(fontSize: 13), onChanged: (text) => controller.onSearchEnter(text, globalSearch: globalSearch), decoration: InputDecoration( @@ -60,6 +63,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { ? L10n.of(context).searchChatsRooms : status.calcLocalizedString(context), hintStyle: TextStyle( + fontSize: 13, color: status.error != null ? Colors.orange : theme.colorScheme.onPrimaryContainer, @@ -69,7 +73,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { ? controller.isSearchMode ? IconButton( tooltip: L10n.of(context).cancel, - icon: const Icon(TablerIcons.x), + icon: const Icon(TablerIcons.x, size: 18), onPressed: controller.cancelSearch, color: theme.colorScheme.onPrimaryContainer, ) @@ -77,6 +81,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { onPressed: controller.startSearch, icon: Icon( TablerIcons.search, + size: 18, color: theme.colorScheme.onPrimaryContainer, ), ) @@ -127,6 +132,7 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget { ) : SizedBox(width: 0, child: ClientChooserButton(controller)), ), + ), ); }, ), diff --git a/lib/pages/chat_list/client_chooser_button.dart b/lib/pages/chat_list/client_chooser_button.dart index afae9a6b7c..4daf34b286 100644 --- a/lib/pages/chat_list/client_chooser_button.dart +++ b/lib/pages/chat_list/client_chooser_button.dart @@ -184,7 +184,7 @@ class ClientChooserButton extends StatelessWidget { mxContent: snapshot.data?.avatarUrl, name: snapshot.data?.displayName ?? matrix.client.userID?.localpart, - size: 32, + size: 24, ), ), ), diff --git a/web/index.html b/web/index.html index b1d9f89a31..9cef31c5db 100644 --- a/web/index.html +++ b/web/index.html @@ -23,13 +23,13 @@ - + - fluffychat + Uchar