Make composer photo carousel extend edge-to-edge
This commit is contained in:
@@ -164,8 +164,17 @@ const GalleryInner = ({images, containerInfo, dispatch}: GalleryInnerProps) => {
|
|||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
role="group"
|
role="group"
|
||||||
aria-roledescription={_(msg`carousel`)}
|
aria-roledescription={_(msg`carousel`)}
|
||||||
style={[{marginTop: 16}, web({overscrollBehaviorX: 'contain'})]}
|
style={[
|
||||||
contentContainerStyle={{gap: IMAGE_GAP, paddingRight: IMAGE_GAP}}>
|
{
|
||||||
|
marginTop: 16,
|
||||||
|
marginHorizontal: -tokens.space.lg,
|
||||||
|
},
|
||||||
|
web({overscrollBehaviorX: 'contain'}),
|
||||||
|
]}
|
||||||
|
contentContainerStyle={{
|
||||||
|
gap: IMAGE_GAP,
|
||||||
|
paddingHorizontal: tokens.space.lg,
|
||||||
|
}}>
|
||||||
{images.map(image => (
|
{images.map(image => (
|
||||||
<GalleryItem
|
<GalleryItem
|
||||||
key={image.source.id}
|
key={image.source.id}
|
||||||
|
|||||||
Reference in New Issue
Block a user