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.
This commit is contained in:
Benjamin Willems
2021-02-20 18:37:54 -08:00
parent de47f4ffab
commit 957a394d20
+2 -2
View File
@@ -22,8 +22,8 @@
{{{content}}}
</div>
{{#has_sidebar}}
<div id="wiki-sidebar" class="Box Box--condensed float-md-{{body_side}} col-md-3 px-4">
<div id="sidebar-content" class="gollum-{{sidebar_format}}-content markdown-body">
<div id="wiki-sidebar" class="Box Box--condensed float-md-{{body_side}} col-md-3">
<div id="sidebar-content" class="gollum-{{sidebar_format}}-content markdown-body px-4">
{{{sidebar_content}}}
</div>
</div>