Fix tap target size of post dropdown menus (#1180)

This commit is contained in:
Paul Frazee 2023-08-15 15:49:52 -07:00 committed by GitHub
parent 0576caae36
commit 6ccfb1375a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 113 deletions

View file

@ -266,7 +266,9 @@ const PostLoaded = observer(
</View>
) : undefined}
{item.post.embed ? (
<ContentHider moderation={item.moderation.embed} style={s.mb10}>
<ContentHider
moderation={item.moderation.embed}
style={styles.contentHider}>
<PostEmbeds
embed={item.post.embed}
moderation={item.moderation.embed}
@ -315,8 +317,10 @@ const PostLoaded = observer(
const styles = StyleSheet.create({
outer: {
padding: 10,
paddingTop: 10,
paddingRight: 15,
paddingBottom: 5,
paddingLeft: 10,
borderTopWidth: 1,
},
layout: {
@ -336,7 +340,6 @@ const styles = StyleSheet.create({
flexDirection: 'row',
alignItems: 'center',
flexWrap: 'wrap',
paddingBottom: 8,
},
translateLink: {
marginBottom: 12,
@ -350,7 +353,7 @@ const styles = StyleSheet.create({
borderLeftColor: colors.gray2,
},
contentHider: {
marginBottom: 6,
marginBottom: 2,
},
contentHiderChild: {
marginTop: 6,