From 60f5201f12a06301c2a417a00bfc94729bdd34e4 Mon Sep 17 00:00:00 2001 From: Ibrahim Sulaiman Date: Wed, 14 Jul 2021 14:18:43 +0530 Subject: [PATCH] Handled the bleed property. In web its not having condition for fist and last. so removed this condition --- .../src/components/containers/container-wrapper.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/community/reactnative/src/components/containers/container-wrapper.js b/source/community/reactnative/src/components/containers/container-wrapper.js index dbe12f7d19..b59f45d6cb 100644 --- a/source/community/reactnative/src/components/containers/container-wrapper.js +++ b/source/community/reactnative/src/components/containers/container-wrapper.js @@ -106,11 +106,7 @@ export class ContainerWrapper extends React.PureComponent { // bleed if (this.payload.bleed && this.props.containerStyle) { - const { isFirst, isLast } = this.props; - const marginLeft = isFirst ? -Constants.containerPadding : 0; - const marginRight = isLast ? -Constants.containerPadding : 0; - - computedStyles.push({ marginVertical: -containerPadding, marginLeft, marginRight }); + computedStyles.push({ padding: -Constants.containerPadding }); } // height