From 498c3e2c271524f7bac08df9d6cc4d72174a4521 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 20 Sep 2023 19:13:54 -0700 Subject: Tune the treeview UI a bit more (#1494) --- src/view/com/post-thread/PostThreadItem.tsx | 80 +++++++++++++++++------------ 1 file changed, 47 insertions(+), 33 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 1089bfabf..fc0684698 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -166,7 +166,7 @@ export const PostThreadItem = observer(function PostThreadItem({ return ( <> {item.rootUri !== item.uri && ( - + - - - - {item._showChildReplyLine && ( - + - )} - + + {item._showChildReplyLine && ( + + )} + + )} {Array.from(Array(item._depth - 1)).map((_, n: number) => ( ))} @@ -626,12 +640,12 @@ function ExpandedPostDetails({ const styles = StyleSheet.create({ outer: { borderTopWidth: 1, - paddingLeft: 10, + paddingLeft: 8, }, outerHighlighted: { paddingTop: 16, - paddingLeft: 10, - paddingRight: 10, + paddingLeft: 8, + paddingRight: 8, }, noTopBorder: { borderTopWidth: 0, -- cgit 1.4.1