diff --git a/web/source/css/base.css b/web/source/css/base.css index 1afc2be6f..4c9869bc1 100644 --- a/web/source/css/base.css +++ b/web/source/css/base.css @@ -7,11 +7,18 @@ html, body { } body { + line-height: 1.5em; + min-height: 100vh; + position: relative; +} + +.page { + position: absolute; display: grid; + min-height: 100%; + min-width: 100%; grid-template-rows: auto 1fr auto; - min-height: 100vh; - line-height: 1.5em; } main { diff --git a/web/template/footer.tmpl b/web/template/footer.tmpl index 15ce72e7a..075682f60 100644 --- a/web/template/footer.tmpl +++ b/web/template/footer.tmpl @@ -1,20 +1,21 @@ - - + + + {{ if .javascript }} {{ range .javascript }} diff --git a/web/template/header.tmpl b/web/template/header.tmpl index 57846d60a..28a106980 100644 --- a/web/template/header.tmpl +++ b/web/template/header.tmpl @@ -1,6 +1,6 @@ - + @@ -17,12 +17,13 @@ {{.instance.Title}} - GoToSocial -
- Instance Logo -
-

- {{.instance.Title}} -

-
-
-
\ No newline at end of file +
+
+ Instance Logo +
+

+ {{.instance.Title}} +

+
+
+
\ No newline at end of file