From 85b4de701b86a9c650bf241e72bd6e8449b720d2 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 8 Aug 2023 09:53:04 -0500 Subject: [PATCH] fix long thread styling --- src/view/com/posts/FeedSlice.tsx | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/view/com/posts/FeedSlice.tsx b/src/view/com/posts/FeedSlice.tsx index 39bd58e8..6fc169db 100644 --- a/src/view/com/posts/FeedSlice.tsx +++ b/src/view/com/posts/FeedSlice.tsx @@ -44,6 +44,7 @@ export const FeedSlice = observer( item={slice.items[last]} isThreadParent={slice.isThreadParentAt(last)} isThreadChild={slice.isThreadChildAt(last)} + isThreadLastChild /> ) @@ -75,23 +76,28 @@ function ViewFullThread({slice}: {slice: PostsFeedSliceModel}) { }, [slice.rootItem.post.uri, slice.rootItem.post.author]) return ( - + - + - + - + + View full thread @@ -100,13 +106,12 @@ function ViewFullThread({slice}: {slice: PostsFeedSliceModel}) { const styles = StyleSheet.create({ viewFullThread: { - paddingTop: 14, - paddingBottom: 6, - paddingLeft: 80, + flexDirection: 'row', + gap: 10, + paddingLeft: 18, }, viewFullThreadDots: { - position: 'absolute', - left: 41, - top: 0, + width: 52, + alignItems: 'center', }, })