From 12a214423293da1914eaae83073e0e3d2c6d1de2 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Tue, 2 May 2023 23:32:29 -0500
Subject: Remove some confusing horizontal lines in threads (#566)

---
 src/view/com/post-thread/PostThreadItem.tsx | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

(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 953e67b18..ddb2cb7bb 100644
--- a/src/view/com/post-thread/PostThreadItem.tsx
+++ b/src/view/com/post-thread/PostThreadItem.tsx
@@ -310,7 +310,12 @@ export const PostThreadItem = observer(function PostThreadItem({
         <PostHider
           testID={`postThreadItem-by-${item.post.author.handle}`}
           href={itemHref}
-          style={[styles.outer, {borderColor: pal.colors.border}, pal.view]}
+          style={[
+            styles.outer,
+            pal.border,
+            pal.view,
+            item._showParentReplyLine && styles.noTopBorder,
+          ]}
           moderation={item.moderation.thread}>
           {item._showParentReplyLine && (
             <View
@@ -425,6 +430,9 @@ const styles = StyleSheet.create({
     paddingLeft: 6,
     paddingRight: 6,
   },
+  noTopBorder: {
+    borderTopWidth: 0,
+  },
   parentReplyLine: {
     position: 'absolute',
     left: 44,
-- 
cgit 1.4.1

