Skip to content

Commit

Permalink
change(website): removed container from styles that implement content…
Browse files Browse the repository at this point in the history
…-box

- after modifying the contentBox styling to no longer span full width
  due to the bg color we can now leave the container outside of the content-box-inner area
  • Loading branch information
ichim-david committed Jun 16, 2022
1 parent ba0d417 commit c513000
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ const applyConfig = (config) => {
viewComponent: (props) => {
return (
<div className="content-box">
<div className="content-box-inner ui container">
{props.children}
</div>
<div className="content-box-inner">{props.children}</div>
</div>
);
},
Expand All @@ -99,9 +97,7 @@ const applyConfig = (config) => {
viewComponent: (props) => {
return (
<div className="content-box primary">
<div className="content-box-inner ui container">
{props.children}
</div>
<div className="content-box-inner">{props.children}</div>
</div>
);
},
Expand All @@ -115,9 +111,7 @@ const applyConfig = (config) => {
viewComponent: (props) => {
return (
<div className="content-box secondary">
<div className="content-box-inner ui container">
{props.children}
</div>
<div className="content-box-inner">{props.children}</div>
</div>
);
},
Expand All @@ -131,9 +125,7 @@ const applyConfig = (config) => {
viewComponent: (props) => {
return (
<div className="content-box tertiary">
<div className="content-box-inner ui container">
{props.children}
</div>
<div className="content-box-inner">{props.children}</div>
</div>
);
},
Expand Down

0 comments on commit c513000

Please sign in to comment.