about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThreadItem.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-01-26 12:09:52 -0800
committerGitHub <noreply@github.com>2024-01-26 12:09:52 -0800
commitb629fbdbb98a3eec9557d23c5257ee88e923134a (patch)
treeea55b93c7a968a383d9728ab2d4084c76edeffe6 /src/view/com/post-thread/PostThreadItem.tsx
parent6149437c05bd0ffbde08833e2a32c967f08f8414 (diff)
downloadvoidsky-b629fbdbb98a3eec9557d23c5257ee88e923134a.tar.zst
Two UI tweaks after recent updates (#2647)
* Readd the top border to the highlighted post when a reply (revert #2628)

* Readd right pad to post controls
Diffstat (limited to 'src/view/com/post-thread/PostThreadItem.tsx')
-rw-r--r--src/view/com/post-thread/PostThreadItem.tsx15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx
index 95fd5aefb..a27ee0a58 100644
--- a/src/view/com/post-thread/PostThreadItem.tsx
+++ b/src/view/com/post-thread/PostThreadItem.tsx
@@ -250,13 +250,7 @@ let PostThreadItemLoaded = ({
 
         <View
           testID={`postThreadItem-by-${post.author.handle}`}
-          style={[
-            styles.outer,
-            styles.outerHighlighted,
-            rootUri === post.uri && styles.outerHighlightedRoot,
-            pal.border,
-            pal.view,
-          ]}
+          style={[styles.outer, styles.outerHighlighted, pal.border, pal.view]}
           accessible={false}>
           <PostSandboxWarning />
           <View style={styles.layout}>
@@ -732,15 +726,10 @@ const useStyles = () => {
       paddingLeft: 8,
     },
     outerHighlighted: {
-      borderTopWidth: 0,
-      paddingTop: 4,
+      paddingTop: 16,
       paddingLeft: 8,
       paddingRight: 8,
     },
-    outerHighlightedRoot: {
-      borderTopWidth: 1,
-      paddingTop: 16,
-    },
     noTopBorder: {
       borderTopWidth: 0,
     },