diff options
author | dan <dan.abramov@gmail.com> | 2023-10-18 20:08:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 15:08:12 -0400 |
commit | c6e28f88e5e96453005ff6f11194f3ccf091f4b6 (patch) | |
tree | a84257fb2baa529c5f6753cb33c0f647b968be7c /src | |
parent | 8e9cf182c2e247203b6b5ea9ae701c039945d6a0 (diff) | |
download | voidsky-c6e28f88e5e96453005ff6f11194f3ccf091f4b6.tar.zst |
Fix four gallery images for Firefox (#1710)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/images/ImageLayoutGrid.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/util/images/ImageLayoutGrid.tsx b/src/view/com/util/images/ImageLayoutGrid.tsx index 2e352d086..4aa6f28de 100644 --- a/src/view/com/util/images/ImageLayoutGrid.tsx +++ b/src/view/com/util/images/ImageLayoutGrid.tsx @@ -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: |