From f4348600e27da44d83c484ddf0df840e86fbbafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Thu, 28 Jan 2021 20:10:18 +0100 Subject: [PATCH] Minor tweak to user profile home card This aligns the buttons of the two cards and also the aspect ratio becomes a tad nicer. --- snikket_web/scss/app.scss | 2 +- snikket_web/templates/user_home.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/snikket_web/scss/app.scss b/snikket_web/scss/app.scss index 4591563..2c9b8b6 100644 --- a/snikket_web/scss/app.scss +++ b/snikket_web/scss/app.scss @@ -885,7 +885,7 @@ nav.welcome { &.wide { flex: 1 0 auto; - display: block; + /* display: block; */ } .button { diff --git a/snikket_web/templates/user_home.html b/snikket_web/templates/user_home.html index b4959e1..a8abb53 100644 --- a/snikket_web/templates/user_home.html +++ b/snikket_web/templates/user_home.html @@ -27,8 +27,10 @@ {#- -#} {# #} {#- -#} -
{% call standard_button("edit", url_for(".profile"), class="primary") %}{% trans %}Edit profile{% endtrans %}{% endcall %}
-
{% call standard_button("passwd", url_for(".change_pw"), class="secondary") %}{% trans %}Change password{% endtrans %}{% endcall %}
+
+
{% call standard_button("edit", url_for(".profile"), class="primary") %}{% trans %}Edit profile{% endtrans %}{% endcall %}
+
{% call standard_button("passwd", url_for(".change_pw"), class="secondary") %}{% trans %}Change password{% endtrans %}{% endcall %}
+
{#- -#} {% if user_info.is_admin %}