From a2ddc9c4b5e13c4b8efafaa4703f912b7c57bc3c Mon Sep 17 00:00:00 2001 From: Christopher Whitley <103014489+AristurtleDev@users.noreply.github.com> Date: Tue, 4 Aug 2026 14:48:25 -0400 Subject: [PATCH] Move footer below content so it retains the same width as the content section --- templates/monogame/layout/_master.tmpl | 2 +- templates/monogame/partials/content.tmpl.partial | 2 +- templates/monogame/partials/footer.tmpl.partial | 4 +--- templates/monogame/public/main.css | 5 +++++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/monogame/layout/_master.tmpl b/templates/monogame/layout/_master.tmpl index bfd763ff..e583e7f8 100644 --- a/templates/monogame/layout/_master.tmpl +++ b/templates/monogame/layout/_master.tmpl @@ -65,6 +65,7 @@ {{^_disableNextArticle}} {{/_disableNextArticle}} + {{>partials/footer}} @@ -77,7 +78,6 @@
{{/_enableSearch}} - {{>partials/footer}} diff --git a/templates/monogame/partials/content.tmpl.partial b/templates/monogame/partials/content.tmpl.partial index 5fbbe9a8..94705ddb 100644 --- a/templates/monogame/partials/content.tmpl.partial +++ b/templates/monogame/partials/content.tmpl.partial @@ -42,6 +42,7 @@ {{^_disableNextArticle}} {{/_disableNextArticle}} + {{>partials/footer}}
@@ -52,5 +53,4 @@ {{#_enableSearch}}
{{/_enableSearch}} -{{>partials/footer}}
\ No newline at end of file diff --git a/templates/monogame/partials/footer.tmpl.partial b/templates/monogame/partials/footer.tmpl.partial index 7d421a94..5c0f0d95 100644 --- a/templates/monogame/partials/footer.tmpl.partial +++ b/templates/monogame/partials/footer.tmpl.partial @@ -1,5 +1,4 @@ -
-
diff --git a/templates/monogame/public/main.css b/templates/monogame/public/main.css index 7447ade8..76bb82ca 100644 --- a/templates/monogame/public/main.css +++ b/templates/monogame/public/main.css @@ -48,6 +48,11 @@ body[data-disable-toc="true" i] .toc-offcanvas { visibility: hidden; } +body > main > .content > .mg-docs-footer, +body[data-layout="landing"] > main > .content > .mg-docs-footer { + display: block; +} + th:has(a img[alt^="Figure"]), td:has(a img[alt^="Figure"]) { width: 50%;