fix(website): make footer stay at bottom properly

pull/177/head
TorchedSammy 2022-06-22 22:04:43 -04:00
parent 9fefd7b53c
commit a773c974f9
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body style="overflow-x: hidden;">
<body class="d-flex flex-column min-vh-100" style="overflow-x: hidden;">
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}}

View File

@ -1,5 +1,5 @@
{{ define "main" }}
<div class="container mt-auto mt-auto py-3 row">
<div class="container py-3 row">
<div class="container" style="width: 240px;">
<div class="p-3 col">
<ul class="nav nav-pills mb-auto">

View File

@ -1,6 +1,6 @@
{{ define "main" }}
<main>
<div class="text-center container my-5">
<div class="container my-5">
{{.Content}}
</div>
</main>

View File

@ -1,4 +1,4 @@
<footer class="footer fixed-bottom mt-auto mt-auto py-3 bg-light row">
<footer class="footer mt-auto mt-auto py-3 bg-light row">
<div class="col mb-3">
</div>