1
0
mirror of https://github.com/tooot-app/app synced 2024-12-22 23:58:27 +01:00

Try out using margin instead of gap

This commit is contained in:
xmflsct 2023-02-14 23:18:23 +01:00
parent 3b4b6d2f67
commit ad04eff7ce

View File

@ -172,7 +172,7 @@ const TimelineAttachment = () => {
return ( return (
<View style={{ marginTop: StyleConstants.Spacing.M, ...(isLargeDevice && { maxWidth: 375 }) }}> <View style={{ marginTop: StyleConstants.Spacing.M, ...(isLargeDevice && { maxWidth: 375 }) }}>
<View style={{ gap: StyleConstants.Spacing.XS }}> <View style={{ marginBottom: StyleConstants.Spacing.XS }}>
{chunk(status.media_attachments, 2).map((chunk, chunkIndex) => ( {chunk(status.media_attachments, 2).map((chunk, chunkIndex) => (
<View <View
key={chunkIndex} key={chunkIndex}