From 22a68e90cb4c87455ec1778071ee8ae762860511 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Fri, 4 Aug 2023 14:32:55 +0300 Subject: [PATCH] revert margin bottom changes --- src/main/frontend/components/container.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/components/container.cljs b/src/main/frontend/components/container.cljs index b5b7019f2ec..8c073f32995 100644 --- a/src/main/frontend/components/container.cljs +++ b/src/main/frontend/components/container.cljs @@ -551,7 +551,11 @@ :else [:div - {:class (if (or onboarding-and-home? margin-less-pages?) "" (util/hiccup->class "mx-auto"))} + {:class (if (or onboarding-and-home? margin-less-pages?) "" (util/hiccup->class "mx-auto.pb-24")) + :style {:margin-bottom (cond + margin-less-pages? 0 + onboarding-and-home? 0 + :else 120)}} main-content]) (when onboarding-and-home?