From ce9480aeee14bf16d6e25843500ca09b7214131a Mon Sep 17 00:00:00 2001 From: shahanneda Date: Mon, 15 Aug 2022 18:36:12 -0700 Subject: [PATCH] added comment --- components/ComponentWrapper.module.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/components/ComponentWrapper.module.css b/components/ComponentWrapper.module.css index 3d5d9b4..8c1bfe7 100644 --- a/components/ComponentWrapper.module.css +++ b/components/ComponentWrapper.module.css @@ -35,14 +35,11 @@ flex-direction: column; text-align: center; gap: calc(25rem / 16); - margin: 0 0 calc(65rem / 16) 0; + /* to match margin top with left/right wrappers, add 45px bottom margin, since internal wrapper also contributes 20px for the center component*/ + margin: 0 0 calc(45rem / 16) 0; padding: 0 15%; } -.wrapperCenter > h3 { - margin: 0; -} - @media screen and (max-width: 768px) { .wrapperCommon { margin: auto;