From cf817b6239d340d0e52268422abfd32b9492f241 Mon Sep 17 00:00:00 2001 From: shahanneda Date: Mon, 15 Aug 2022 18:48:00 -0700 Subject: [PATCH] Updated comment --- components/ComponentWrapper.module.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/ComponentWrapper.module.css b/components/ComponentWrapper.module.css index 8c1bfe7..01a8141 100644 --- a/components/ComponentWrapper.module.css +++ b/components/ComponentWrapper.module.css @@ -35,7 +35,10 @@ flex-direction: column; text-align: center; gap: calc(25rem / 16); - /* to match margin top with left/right wrappers, add 45px bottom margin, since internal wrapper also contributes 20px for the center component*/ + /* to match the 65px margin with the left/right variant: + add 45px bottom margin, since internal wrapper contributes 20px for the center component + 0px top margin, since h3 contributes 45px and internal wrapper contributes 20px for the center component + */ margin: 0 0 calc(45rem / 16) 0; padding: 0 15%; }