Skip to content

Commit

Permalink
fix(molecules): fix Banner container padding
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenM committed Dec 22, 2019
1 parent 727f7b0 commit 930f27a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/components/molecules/Banner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const BannerContainer = styled(Container)`
`;

const Banner = ({ children, className }) => (
<BannerContainer fluid className={`p-0 ${className}`}>
<BannerContainer fluid className={className}>
<Row className="banner-wrapper py-1">
<Col>
<div className="banner-text text-center">{children}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`<Banner /> Should render and match the snapshot 1`] = `
<div
class="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
class="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
class="banner-wrapper py-1 row"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`<HomeLayout /> Should render and match the snapshot 1`] = `
class="homepage--wrapper"
>
<div
class="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
class="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
class="banner-wrapper py-1 row"
Expand Down
12 changes: 6 additions & 6 deletions app/tests/__snapshots__/storybook.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ exports[`Storyshots Design|Molecules/Banner Default Banner 1`] = `
}
>
<div
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
className="banner-wrapper py-1 row"
Expand Down Expand Up @@ -1435,7 +1435,7 @@ exports[`Storyshots Design|Molecules/Banner With Dynamic Variables 1`] = `
}
>
<div
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
className="banner-wrapper py-1 row"
Expand Down Expand Up @@ -1491,7 +1491,7 @@ exports[`Storyshots Design|Molecules/Banner With Text 1`] = `
}
>
<div
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
className="banner-wrapper py-1 row"
Expand Down Expand Up @@ -3681,7 +3681,7 @@ exports[`Storyshots Design|Pages/HomePage Default Story 1`] = `
className="homepage--wrapper"
>
<div
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
className="banner-wrapper py-1 row"
Expand Down Expand Up @@ -4246,7 +4246,7 @@ exports[`Storyshots Design|Templates/HomeLayout With Dynamic Variables 1`] = `
className="homepage--wrapper"
>
<div
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
className="banner-wrapper py-1 row"
Expand Down Expand Up @@ -4647,7 +4647,7 @@ exports[`Storyshots Design|Templates/HomeLayout With Placeholders 1`] = `
className="homepage--wrapper"
>
<div
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz p-0 undefined container-fluid"
className="Banner__BannerContainer-sc-1in81vp-0 kFnzoz container-fluid"
>
<div
className="banner-wrapper py-1 row"
Expand Down

0 comments on commit 930f27a

Please sign in to comment.