diff --git a/components/Container/Container.js b/components/Container/Container.js index ce6e5b7ab..c4bc9afd3 100644 --- a/components/Container/Container.js +++ b/components/Container/Container.js @@ -1,7 +1,6 @@ import { bool, node, number, oneOf, oneOfType, string } from 'prop-types'; import classNames from 'classnames'; import { getDataAttributes } from 'common/utils/prop-utils'; -import styles from './Container.module.css'; Container.propTypes = { backgroundImageSource: string, @@ -42,14 +41,23 @@ function Container({ return (
-
{children}
+
+ {children} +
); } diff --git a/components/Container/Container.module.css b/components/Container/Container.module.css deleted file mode 100644 index 2db0109c3..000000000 --- a/components/Container/Container.module.css +++ /dev/null @@ -1,58 +0,0 @@ -.Container { - background-position: center; - background-repeat: no-repeat; - background-size: cover; - display: flex; - align-items: center; - justify-content: center; - min-height: 250px; - width: 100%; - fill: currentcolor; -} - -/* need to have a higher order of specificity since HeroBanner fights it */ -.Container.fullViewportHeight { - min-height: 100vh !important; -} - -.content { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - margin: 3.5rem auto; - width: 100%; - max-width: 1400px; -} - -@media screen and (--small-viewport) { - .content { - width: 85%; - } -} - -/* Dark Themes */ -.secondary { - background-color: var(--secondary); - color: var(--white); -} - -.secondary svg { - fill: var(--white); -} - -/* Light Themes */ -.gray { - background-color: var(--gray); - color: var(--secondary); -} - -.white { - background-color: var(--white); - color: var(--secondary); -} - -.white svg, -.gray svg { - fill: var(--secondary); -} diff --git a/components/Container/__tests__/__snapshots__/Container.test.js.snap b/components/Container/__tests__/__snapshots__/Container.test.js.snap index e848efc02..0c017e965 100644 --- a/components/Container/__tests__/__snapshots__/Container.test.js.snap +++ b/components/Container/__tests__/__snapshots__/Container.test.js.snap @@ -2,7 +2,7 @@ exports[`Container should render with many props assigned 1`] = `
Test Children
diff --git a/components/Content/__tests__/__snapshots__/Content.test.js.snap b/components/Content/__tests__/__snapshots__/Content.test.js.snap index 5b872145c..54bc83ff2 100644 --- a/components/Content/__tests__/__snapshots__/Content.test.js.snap +++ b/components/Content/__tests__/__snapshots__/Content.test.js.snap @@ -2,11 +2,11 @@ exports[`Content should render with many props assigned 1`] = `