From dadf27fd2f417584093fb344cdacd9dbe332dade Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 2 May 2024 18:00:42 +0100 Subject: [PATCH] [Clipclops] Minor web tweaks (#3822) * add a11y + onPress to web send button * only adjust leading on web, due to overflow issue --- src/screens/Messages/Conversation/MessageInput.web.tsx | 5 ++++- src/screens/Messages/List/index.tsx | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/screens/Messages/Conversation/MessageInput.web.tsx b/src/screens/Messages/Conversation/MessageInput.web.tsx index 2370b52d..d2880c6d 100644 --- a/src/screens/Messages/Conversation/MessageInput.web.tsx +++ b/src/screens/Messages/Conversation/MessageInput.web.tsx @@ -78,12 +78,15 @@ export function MessageInput({ /> + ]} + onPress={onSubmit}> diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index 497b2389..75c6d1a7 100644 --- a/src/screens/Messages/List/index.tsx +++ b/src/screens/Messages/List/index.tsx @@ -20,7 +20,7 @@ import {TimeElapsed} from '#/view/com/util/TimeElapsed' import {PreviewableUserAvatar} from '#/view/com/util/UserAvatar' import {ViewHeader} from '#/view/com/util/ViewHeader' import {CenteredView} from '#/view/com/util/Views' -import {atoms as a, useBreakpoints, useTheme} from '#/alf' +import {atoms as a, useBreakpoints, useTheme, web} from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {DialogControlProps, useDialogControl} from '#/components/Dialog' import {ConvoMenu} from '#/components/dms/ConvoMenu' @@ -237,7 +237,9 @@ function ChatListItem({convo}: {convo: ChatBskyConvoDefs.ConvoView}) { - + 0 && a.font_bold]}> {otherUser.displayName || otherUser.handle}