diff options
Diffstat (limited to 'src/view/com/util')
-rw-r--r-- | src/view/com/util/LoadingPlaceholder.tsx | 2 | ||||
-rw-r--r-- | src/view/com/util/post-ctrls/PostCtrls.tsx | 26 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/view/com/util/LoadingPlaceholder.tsx b/src/view/com/util/LoadingPlaceholder.tsx index 8941bfb9c..32c99e224 100644 --- a/src/view/com/util/LoadingPlaceholder.tsx +++ b/src/view/com/util/LoadingPlaceholder.tsx @@ -88,7 +88,7 @@ export function PostLoadingPlaceholder({ strokeWidth={3} /> </View> - <View style={{width: 30, height: 30}} /> + <View style={styles.postCtrl} /> </View> </View> </View> 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> ) } |