You've already forked snikket-web-portal
Minor tweak to user profile home card
This aligns the buttons of the two cards and also the aspect ratio becomes a tad nicer.
This commit is contained in:
@@ -885,7 +885,7 @@ nav.welcome {
|
|||||||
|
|
||||||
&.wide {
|
&.wide {
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
display: block;
|
/* display: block; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
|||||||
@@ -27,8 +27,10 @@
|
|||||||
{#- -#}
|
{#- -#}
|
||||||
{# <img aria-hidden="true" src="{{ url_for("static", filename="img/illus-profile.svg") }}"> #}
|
{# <img aria-hidden="true" src="{{ url_for("static", filename="img/illus-profile.svg") }}"> #}
|
||||||
{#- -#}
|
{#- -#}
|
||||||
<div>{% call standard_button("edit", url_for(".profile"), class="primary") %}{% trans %}Edit profile{% endtrans %}{% endcall %}</div>
|
<div>
|
||||||
<div>{% call standard_button("passwd", url_for(".change_pw"), class="secondary") %}{% trans %}Change password{% endtrans %}{% endcall %}</div>
|
<div>{% call standard_button("edit", url_for(".profile"), class="primary") %}{% trans %}Edit profile{% endtrans %}{% endcall %}</div>
|
||||||
|
<div>{% call standard_button("passwd", url_for(".change_pw"), class="secondary") %}{% trans %}Change password{% endtrans %}{% endcall %}</div>
|
||||||
|
</div>
|
||||||
{#- -#}
|
{#- -#}
|
||||||
</li>
|
</li>
|
||||||
{% if user_info.is_admin %}
|
{% if user_info.is_admin %}
|
||||||
|
|||||||
Reference in New Issue
Block a user