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;