From 335bef3d308e6aff2238fc4820bd39c8f7517112 Mon Sep 17 00:00:00 2001
From: dan <dan.abramov@gmail.com>
Date: Thu, 25 Jan 2024 22:48:25 +0000
Subject: Present highlighted post as part of the thread (#2628)

---
 src/view/com/post-thread/PostThreadItem.tsx | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

(limited to 'src/view/com/post-thread/PostThreadItem.tsx')

diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx
index a27ee0a58..95fd5aefb 100644
--- a/src/view/com/post-thread/PostThreadItem.tsx
+++ b/src/view/com/post-thread/PostThreadItem.tsx
@@ -250,7 +250,13 @@ let PostThreadItemLoaded = ({
 
         <View
           testID={`postThreadItem-by-${post.author.handle}`}
-          style={[styles.outer, styles.outerHighlighted, pal.border, pal.view]}
+          style={[
+            styles.outer,
+            styles.outerHighlighted,
+            rootUri === post.uri && styles.outerHighlightedRoot,
+            pal.border,
+            pal.view,
+          ]}
           accessible={false}>
           <PostSandboxWarning />
           <View style={styles.layout}>
@@ -726,10 +732,15 @@ const useStyles = () => {
       paddingLeft: 8,
     },
     outerHighlighted: {
-      paddingTop: 16,
+      borderTopWidth: 0,
+      paddingTop: 4,
       paddingLeft: 8,
       paddingRight: 8,
     },
+    outerHighlightedRoot: {
+      borderTopWidth: 1,
+      paddingTop: 16,
+    },
     noTopBorder: {
       borderTopWidth: 0,
     },
-- 
cgit 1.4.1

