Fix four gallery images for Firefox (#1710)
This commit is contained in:
@@ -63,8 +63,8 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
|
||||
|
||||
case 4:
|
||||
return (
|
||||
<View style={styles.flexRow}>
|
||||
<View style={{flex: 1}}>
|
||||
<>
|
||||
<View style={styles.flexRow}>
|
||||
<View style={styles.smallItem}>
|
||||
<GalleryItem {...props} index={0} imageStyle={styles.image} />
|
||||
</View>
|
||||
@@ -72,7 +72,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
|
||||
<GalleryItem {...props} index={2} imageStyle={styles.image} />
|
||||
</View>
|
||||
</View>
|
||||
<View style={{flex: 1}}>
|
||||
<View style={styles.flexRow}>
|
||||
<View style={styles.smallItem}>
|
||||
<GalleryItem {...props} index={1} imageStyle={styles.image} />
|
||||
</View>
|
||||
@@ -80,7 +80,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
|
||||
<GalleryItem {...props} index={3} imageStyle={styles.image} />
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</>
|
||||
)
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user