Present highlighted post as part of the thread (#2628)
parent
ab200285c5
commit
335bef3d30
|
@ -250,7 +250,13 @@ let PostThreadItemLoaded = ({
|
||||||
|
|
||||||
<View
|
<View
|
||||||
testID={`postThreadItem-by-${post.author.handle}`}
|
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}>
|
accessible={false}>
|
||||||
<PostSandboxWarning />
|
<PostSandboxWarning />
|
||||||
<View style={styles.layout}>
|
<View style={styles.layout}>
|
||||||
|
@ -726,10 +732,15 @@ const useStyles = () => {
|
||||||
paddingLeft: 8,
|
paddingLeft: 8,
|
||||||
},
|
},
|
||||||
outerHighlighted: {
|
outerHighlighted: {
|
||||||
paddingTop: 16,
|
borderTopWidth: 0,
|
||||||
|
paddingTop: 4,
|
||||||
paddingLeft: 8,
|
paddingLeft: 8,
|
||||||
paddingRight: 8,
|
paddingRight: 8,
|
||||||
},
|
},
|
||||||
|
outerHighlightedRoot: {
|
||||||
|
borderTopWidth: 1,
|
||||||
|
paddingTop: 16,
|
||||||
|
},
|
||||||
noTopBorder: {
|
noTopBorder: {
|
||||||
borderTopWidth: 0,
|
borderTopWidth: 0,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue