Fix four gallery images for Firefox (#1710)
parent
8e9cf182c2
commit
c6e28f88e5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue