From 2e41751cf6f841a5dc5cc763bd7d90c8c2d1ef4d Mon Sep 17 00:00:00 2001 From: benjamin wil Date: Mon, 22 Feb 2021 00:32:02 -0800 Subject: [PATCH] Fix sidebar and footer padding (#1677) * Change footer and footer container spacing This commit: 1. Removes the Primer `my-md-0` spacing from the `#wiki-footer` container. This gives it margins along the Y axis, spacing it out from the sidebar and main wiki content containers on `md` and larger screens. 2. Adds `px-4` padding to the `#footer-content`. which makes the This makes the footer content inset the same way that sidebar content is. This makes the content look more uniform on mobile devices, when the sidebar and footer are presented one before the other. * Change spacing behaviour of `#wiki-sidebar` To make `#wiki-sidebar` and `#wiki-footer` more similar, we can make sure `px-4` padding is applied to the `-content` container, rather than the outer container. --- lib/gollum/templates/wiki_content.mustache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/gollum/templates/wiki_content.mustache b/lib/gollum/templates/wiki_content.mustache index 80dc2b7c..50fe5d5d 100644 --- a/lib/gollum/templates/wiki_content.mustache +++ b/lib/gollum/templates/wiki_content.mustache @@ -22,8 +22,8 @@ {{{content}}} {{#has_sidebar}} -
-
{{#has_footer}} -