tweak top padding external (#4755)
parent
a3c43a7471
commit
ca0a327052
|
@ -131,7 +131,7 @@ export function PostEmbeds({
|
||||||
const {alt, thumb, aspectRatio} = images[0]
|
const {alt, thumb, aspectRatio} = images[0]
|
||||||
return (
|
return (
|
||||||
<ContentHider modui={moderation?.ui('contentMedia')}>
|
<ContentHider modui={moderation?.ui('contentMedia')}>
|
||||||
<View style={[styles.imagesContainer, style]}>
|
<View style={[styles.container, style]}>
|
||||||
<AutoSizedImage
|
<AutoSizedImage
|
||||||
alt={alt}
|
alt={alt}
|
||||||
uri={thumb}
|
uri={thumb}
|
||||||
|
@ -156,7 +156,7 @@ export function PostEmbeds({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ContentHider modui={moderation?.ui('contentMedia')}>
|
<ContentHider modui={moderation?.ui('contentMedia')}>
|
||||||
<View style={[styles.imagesContainer, style]}>
|
<View style={[styles.container, style]}>
|
||||||
<ImageLayoutGrid
|
<ImageLayoutGrid
|
||||||
images={embed.images}
|
images={embed.images}
|
||||||
onPress={_openLightbox}
|
onPress={_openLightbox}
|
||||||
|
@ -174,7 +174,11 @@ export function PostEmbeds({
|
||||||
const link = embed.external
|
const link = embed.external
|
||||||
return (
|
return (
|
||||||
<ContentHider modui={moderation?.ui('contentMedia')}>
|
<ContentHider modui={moderation?.ui('contentMedia')}>
|
||||||
<ExternalLinkEmbed link={link} onOpen={onOpen} style={style} />
|
<ExternalLinkEmbed
|
||||||
|
link={link}
|
||||||
|
onOpen={onOpen}
|
||||||
|
style={[styles.container, style]}
|
||||||
|
/>
|
||||||
</ContentHider>
|
</ContentHider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -183,7 +187,7 @@ export function PostEmbeds({
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
imagesContainer: {
|
container: {
|
||||||
marginTop: 8,
|
marginTop: 8,
|
||||||
},
|
},
|
||||||
altContainer: {
|
altContainer: {
|
||||||
|
|
Loading…
Reference in New Issue