Invalid password.
-{% endif %} - +Invalid password.
+ {% endif %} + +diff --git a/app/scss/main.scss b/app/scss/main.scss index 49fcfe7..bfd8ecb 100644 --- a/app/scss/main.scss +++ b/app/scss/main.scss @@ -212,6 +212,7 @@ a { } } #main { + display: flex; flex: 1; } main { @@ -220,10 +221,19 @@ main { margin: 30px auto; } +.main-flex { + display: flex; + flex: 1; +} + .centered { display: flex; + flex: 1; justify-content: center; align-items: center; + div { + display: block; + } } footer { diff --git a/app/templates/error.html b/app/templates/error.html index 99511b5..c45a567 100644 --- a/app/templates/error.html +++ b/app/templates/error.html @@ -1,6 +1,6 @@ {%- import "utils.html" as utils with context -%} {% extends "layout.html" %} - +{% block main_tag %} class="main-flex"{% endblock %} {% block head %}
Invalid password.
-{% endif %} - +Invalid password.
+ {% endif %} + +