Fix four gallery images for Firefox (#1710)

zio/stable
dan 2023-10-18 20:08:12 +01:00 committed by GitHub
parent 8e9cf182c2
commit c6e28f88e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -63,8 +63,8 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
case 4: case 4:
return ( return (
<>
<View style={styles.flexRow}> <View style={styles.flexRow}>
<View style={{flex: 1}}>
<View style={styles.smallItem}> <View style={styles.smallItem}>
<GalleryItem {...props} index={0} imageStyle={styles.image} /> <GalleryItem {...props} index={0} imageStyle={styles.image} />
</View> </View>
@ -72,7 +72,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
<GalleryItem {...props} index={2} imageStyle={styles.image} /> <GalleryItem {...props} index={2} imageStyle={styles.image} />
</View> </View>
</View> </View>
<View style={{flex: 1}}> <View style={styles.flexRow}>
<View style={styles.smallItem}> <View style={styles.smallItem}>
<GalleryItem {...props} index={1} imageStyle={styles.image} /> <GalleryItem {...props} index={1} imageStyle={styles.image} />
</View> </View>
@ -80,7 +80,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
<GalleryItem {...props} index={3} imageStyle={styles.image} /> <GalleryItem {...props} index={3} imageStyle={styles.image} />
</View> </View>
</View> </View>
</View> </>
) )
default: default: