From 726894ba29b56b905f792596a139023dbcab86d8 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 11 Jun 2021 17:58:36 +0530 Subject: [PATCH] Fix extra padding in footer 70px -> 60px - because of var(--gap) decrease - calc 10px less for mobile padding (24px - 14px = 10px) --- assets/css/core/zmedia.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/core/zmedia.css b/assets/css/core/zmedia.css index 6f63a6df..1cc6c6e7 100644 --- a/assets/css/core/zmedia.css +++ b/assets/css/core/zmedia.css @@ -22,6 +22,11 @@ .archive-year { margin-top: 20px; } + + /* footer */ + .footer { + padding: calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap); + } } @media screen and (min-width: 768px) {