diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-02 18:00:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 18:00:42 +0100 |
commit | dadf27fd2f417584093fb344cdacd9dbe332dade (patch) | |
tree | f04be75ba1724249894c297c8d0df3234110f3b1 /src/screens/Messages/List/index.tsx | |
parent | bff055f618397eb5853d2dd959769821f39f9aa2 (diff) | |
download | voidsky-dadf27fd2f417584093fb344cdacd9dbe332dade.tar.zst |
[Clipclops] Minor web tweaks (#3822)
* add a11y + onPress to web send button * only adjust leading on web, due to overflow issue
Diffstat (limited to 'src/screens/Messages/List/index.tsx')
-rw-r--r-- | src/screens/Messages/List/index.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/screens/Messages/List/index.tsx b/src/screens/Messages/List/index.tsx index 497b23898..75c6d1a73 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}) { <PreviewableUserAvatar profile={otherUser} size={42} /> </View> <View style={[a.flex_1]}> - <Text numberOfLines={1} style={[a.text_md, a.leading_normal]}> + <Text + numberOfLines={1} + style={[a.text_md, web([a.leading_normal, {marginTop: -4}])]}> <Text style={[t.atoms.text, convo.unreadCount > 0 && a.font_bold]}> {otherUser.displayName || otherUser.handle} |