From e939e41450582353a877a48bb4b2ad358ed088dd Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 27 May 2025 21:02:21 -0500 Subject: [PATCH] Tighten some spacing --- .../PostThread/components/ReadMore.tsx | 4 +-- .../PostThread/components/ThreadReply.tsx | 28 +++++++++---------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/screens/PostThread/components/ReadMore.tsx b/src/screens/PostThread/components/ReadMore.tsx index 3b0cfc0c68..b848395d05 100644 --- a/src/screens/PostThread/components/ReadMore.tsx +++ b/src/screens/PostThread/components/ReadMore.tsx @@ -58,7 +58,7 @@ export function ReadMore({ borderLeftWidth: 2, borderBottomWidth: 2, borderBottomLeftRadius: a.rounded_sm.borderRadius, - height: 12, + height: '50%', width: isTreeView ? TREE_INDENT : 42 / 2 + 10, }, ]} @@ -73,7 +73,7 @@ export function ReadMore({ 'post', item.nextAnchorUri.rkey, )} - style={[a.pt_2xs, a.pb_sm, a.gap_xs]}> + style={[a.pt_sm, a.pb_md, a.gap_xs]}> {({hovered, pressed}) => { return ( <> diff --git a/src/screens/PostThread/components/ThreadReply.tsx b/src/screens/PostThread/components/ThreadReply.tsx index 2238e2492b..f6b57b8e4e 100644 --- a/src/screens/PostThread/components/ThreadReply.tsx +++ b/src/screens/PostThread/components/ThreadReply.tsx @@ -27,7 +27,7 @@ import {TextLink} from '#/view/com/util/Link' import {PostCtrls} from '#/view/com/util/post-ctrls/PostCtrls' import {PostEmbeds, PostEmbedViewContext} from '#/view/com/util/post-embeds' import {PostMeta} from '#/view/com/util/PostMeta' -import {TREE_AVI_WIDTH,TREE_INDENT} from '#/screens/PostThread/const' +import {TREE_AVI_WIDTH, TREE_INDENT} from '#/screens/PostThread/const' import {atoms as a, useTheme} from '#/alf' import {useInteractionState} from '#/components/hooks/useInteractionState' import {Trash_Stroke2_Corner0_Rounded as TrashIcon} from '#/components/icons/Trash' @@ -214,7 +214,7 @@ let PostThreadItemLoaded = ({ timestamp={post.indexedAt} postHref={postHref} avatarSize={TREE_AVI_WIDTH} - style={[a.pb_xs]} + style={[a.pb_2xs]} showAvatar /> @@ -234,25 +234,23 @@ let PostThreadItemLoaded = ({ )} - + {richText?.text ? ( - - - + ) : undefined} {limitLines ? (