Fix four gallery images for Firefox (#1710)
This commit is contained in:
parent
8e9cf182c2
commit
c6e28f88e5
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue