Remove some confusing horizontal lines in threads (#566)
This commit is contained in:
parent
883700e090
commit
12a2144232
2 changed files with 11 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue