diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx
index 814ab4cb6a..a2911162a0 100644
--- a/src/view/com/post/Post.tsx
+++ b/src/view/com/post/Post.tsx
@@ -223,7 +223,6 @@ const styles = StyleSheet.create({
flexDirection: 'row',
alignItems: 'center',
flexWrap: 'wrap',
- minHeight: 36,
paddingBottom: 8,
},
postText: {
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx
index 12ad6a52a6..db7b757cc4 100644
--- a/src/view/com/posts/FeedItem.tsx
+++ b/src/view/com/posts/FeedItem.tsx
@@ -2,7 +2,7 @@ import React, {useMemo, useState} from 'react'
import {observer} from 'mobx-react-lite'
import {StyleSheet, Text, View} from 'react-native'
import Clipboard from '@react-native-clipboard/clipboard'
-import Svg, {Circle} from 'react-native-svg'
+import Svg, {Circle, Line} from 'react-native-svg'
import {AtUri} from '../../../third-party/uri'
import * as PostType from '../../../third-party/api/src/client/types/app/bsky/feed/post'
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
@@ -19,8 +19,7 @@ import {UserAvatar} from '../util/UserAvatar'
import {s, colors} from '../../lib/styles'
import {useStores} from '../../../state'
-const TOP_REPLY_LINE_LENGTH = 12
-const REPLYING_TO_LINE_LENGTH = 8
+const TOP_REPLY_LINE_LENGTH = 8
export const FeedItem = observer(function FeedItem({
item,
@@ -97,7 +96,11 @@ export const FeedItem = observer(function FeedItem({
(!item.repostedBy && !item.trendedBy && item.additionalParentPost?.thread)
const outerStyles = [
styles.outer,
- isChild ? styles.outerNoTop : undefined,
+ isChild
+ ? item._isThreadChild
+ ? styles.outerSmallTop
+ : styles.outerNoTop
+ : undefined,
item._isThreadParent ? styles.outerNoBottom : undefined,
]
return (
@@ -111,7 +114,14 @@ export const FeedItem = observer(function FeedItem({
/>
) : undefined}
- {isChild && }
+ {isChild && (
+
+ )}
{item._isThreadParent && (
) : undefined}
- {!item._isThreadChild && replyHref !== '' && (
-
- Replying to
+ {!isChild && replyHref !== '' && (
+
+
+ Reply to
@@ -220,9 +235,17 @@ export const FeedItem = observer(function FeedItem({
noFeedback>
View full thread
@@ -242,26 +265,37 @@ const styles = StyleSheet.create({
},
outerNoTop: {
marginTop: 0,
+ paddingTop: 0,
+ borderTopLeftRadius: 0,
+ borderTopRightRadius: 0,
+ },
+ outerSmallTop: {
+ marginTop: 0,
+ paddingTop: 8,
borderTopLeftRadius: 0,
borderTopRightRadius: 0,
},
outerNoBottom: {
marginBottom: 0,
+ paddingBottom: 0,
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
},
topReplyLine: {
position: 'absolute',
left: 34,
- top: -1 * TOP_REPLY_LINE_LENGTH + 10,
+ top: -1 * TOP_REPLY_LINE_LENGTH,
height: TOP_REPLY_LINE_LENGTH,
borderLeftWidth: 2,
borderLeftColor: colors.gray2,
},
+ topReplyLineSmallAvi: {
+ height: TOP_REPLY_LINE_LENGTH + 10,
+ },
bottomReplyLine: {
position: 'absolute',
left: 34,
- top: 70,
+ top: 60,
bottom: 0,
borderLeftWidth: 2,
borderLeftColor: colors.gray2,
@@ -292,7 +326,6 @@ const styles = StyleSheet.create({
alignItems: 'center',
flexWrap: 'wrap',
paddingBottom: 8,
- minHeight: 36,
},
postText: {
fontFamily: 'System',
@@ -304,7 +337,8 @@ const styles = StyleSheet.create({
},
viewFullThread: {
backgroundColor: colors.white,
- paddingTop: 4,
+ paddingTop: 12,
+ paddingBottom: 4,
paddingLeft: 72,
},
viewFullThreadDots: {