From 14a5d823773f808325e095c08cf5d061d1919ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 10 Aug 2020 16:02:00 +0200 Subject: [PATCH] Fix banner overlapping with other content In some sections we had negative top margins to compensate the header bottom margin. However, when adding a banner between the header and those sections, the negative margin caused the content of those sections to overlap with the content of the banner. Removing the negative margins when a banner is present solves the issue. --- app/assets/stylesheets/layout.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 6dbf15537..0ba2c3e3e 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2287,6 +2287,13 @@ table { // 18. Banners // ----------- +.banner { + + + .budget.expanded, + + .jumbo { + margin-top: 0; + } +} // 19. Recommendations // -------------------