We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ea190 commit 1ff39cbCopy full SHA for 1ff39cb
source/community/reactnative/src/components/containers/container-wrapper.js
@@ -106,11 +106,7 @@ export class ContainerWrapper extends React.PureComponent {
106
107
// bleed
108
if (this.payload.bleed && this.props.containerStyle) {
109
- const { isFirst, isLast } = this.props;
110
- const marginLeft = isFirst ? -Constants.containerPadding : 0;
111
- const marginRight = isLast ? -Constants.containerPadding : 0;
112
-
113
- computedStyles.push({ marginVertical: -containerPadding, marginLeft, marginRight });
+ computedStyles.push({ padding: -Constants.containerPadding });
114
}
115
116
// height
0 commit comments