diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-01-26 12:09:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 12:09:52 -0800 |
commit | b629fbdbb98a3eec9557d23c5257ee88e923134a (patch) | |
tree | ea55b93c7a968a383d9728ab2d4084c76edeffe6 /src/view/com/util/post-ctrls/PostCtrls.tsx | |
parent | 6149437c05bd0ffbde08833e2a32c967f08f8414 (diff) | |
download | voidsky-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/util/post-ctrls/PostCtrls.tsx')
-rw-r--r-- | src/view/com/util/post-ctrls/PostCtrls.tsx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx index a6d7e38c3..249111a04 100644 --- a/src/view/com/util/post-ctrls/PostCtrls.tsx +++ b/src/view/com/util/post-ctrls/PostCtrls.tsx @@ -149,7 +149,7 @@ let PostCtrls = ({ ) : undefined} </TouchableOpacity> </View> - <View style={[styles.ctrl]}> + <View style={styles.ctrl}> <RepostButton big={big} isReposted={!!post.viewer?.repost} @@ -194,19 +194,19 @@ let PostCtrls = ({ </TouchableOpacity> </View> {big ? undefined : ( - <PostDropdownBtn - testID="postDropdownBtn" - postAuthor={post.author} - postCid={post.cid} - postUri={post.uri} - record={record} - richText={richText} - showAppealLabelItem={showAppealLabelItem} - style={styles.btnPad} - /> + <View style={styles.ctrl}> + <PostDropdownBtn + testID="postDropdownBtn" + postAuthor={post.author} + postCid={post.cid} + postUri={post.uri} + record={record} + richText={richText} + showAppealLabelItem={showAppealLabelItem} + style={styles.btnPad} + /> + </View> )} - {/* used for adding pad to the right side */} - <View /> </View> ) } |