Fix tap target size of post dropdown menus (#1180)
This commit is contained in:
parent
0576caae36
commit
6ccfb1375a
8 changed files with 55 additions and 113 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue