From 67532c34eb7a5e9c01fafbb940c1711cd21d57c9 Mon Sep 17 00:00:00 2001 From: nicolelyn Date: Tue, 25 Feb 2020 15:15:53 -0500 Subject: [PATCH] clean up css styles --- website/components/learn-nomad/index.jsx | 7 ++++--- website/components/learn-nomad/style.css | 2 +- website/components/mini-cta/style.css | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/website/components/learn-nomad/index.jsx b/website/components/learn-nomad/index.jsx index c77f56e3e..e858e98b8 100644 --- a/website/components/learn-nomad/index.jsx +++ b/website/components/learn-nomad/index.jsx @@ -3,9 +3,10 @@ import Button from '@hashicorp/react-button' export default function LearnNomad({ items }) { return (
-
+
-
+ {/* need this wrapper to flex center the .column-content */} +

Learn the latest Nomad skills @@ -27,7 +28,7 @@ export default function LearnNomad({ items }) { target="_blank" rel="noopener noreferrer" > -
+
{item.time}
{item.title} diff --git a/website/components/learn-nomad/style.css b/website/components/learn-nomad/style.css index 2a8f70359..d287eb978 100644 --- a/website/components/learn-nomad/style.css +++ b/website/components/learn-nomad/style.css @@ -11,7 +11,7 @@ padding-bottom: 64px; } - & .g-grid-container { + & .learn-container { @media (max-width: 1200px) { display: flex; flex-wrap: wrap; diff --git a/website/components/mini-cta/style.css b/website/components/mini-cta/style.css index 989864123..8df309254 100644 --- a/website/components/mini-cta/style.css +++ b/website/components/mini-cta/style.css @@ -2,6 +2,7 @@ background: var(--gray-7); text-align: center; padding-bottom: 64px; + padding-top: 48px; & hr { width: 64px;