Last commit before background change
This commit is contained in:
@ -21,11 +21,15 @@ class BodySection extends React.Component {
|
||||
let children;
|
||||
|
||||
if(this.props.children) {
|
||||
children = (
|
||||
<div className="c-body-section__wrapper">
|
||||
{this.props.children}
|
||||
</div>
|
||||
);
|
||||
if(this.props.unpadded) {
|
||||
children = this.props.children;
|
||||
} else {
|
||||
children = (
|
||||
<div className="c-body-section__wrapper">
|
||||
{this.props.children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user