diff --git a/snikket_web/scss/app.scss b/snikket_web/scss/app.scss index 8be3d38..fd1795c 100644 --- a/snikket_web/scss/app.scss +++ b/snikket_web/scss/app.scss @@ -26,10 +26,20 @@ body { margin: 0; padding: 0; background-color: $gray-900; + display: flex; + flex-direction: column; + min-height: 100vh; } -body > main { +main { padding: $w-l1; + margin-left: auto; + max-width: 60rem; + margin-right: auto; +} + +#mwrap { + flex: 1; } /* top bar */ @@ -85,14 +95,6 @@ div#topbar { } } -/* main content */ - -main { - max-width: 60rem; - margin-left: auto; - margin-right: auto; -} - /* standard elevations */ .el-1, .box.el-1, div.form.el-1 { diff --git a/snikket_web/templates/app.html b/snikket_web/templates/app.html index c07a60f..ae279b7 100644 --- a/snikket_web/templates/app.html +++ b/snikket_web/templates/app.html @@ -15,7 +15,7 @@ {% block topbar_right %}{% endblock %} -
{% block content %}{% endblock %}
+
{% block content %}{% endblock %}
diff --git a/snikket_web/templates/login.html b/snikket_web/templates/login.html index 545d257..80d31c0 100644 --- a/snikket_web/templates/login.html +++ b/snikket_web/templates/login.html @@ -9,7 +9,7 @@ {{ super() }} {% endblock %} {% block body %} -
+

{{ config["SNIKKET_DOMAIN"] }}

{{ _("Enter your Snikket address and password to manage your account.") }}

@@ -31,7 +31,7 @@
-
+