forked from mirrors/bookwyrm
fix suggested members all appearing in a column
This commit is contained in:
parent
8708d71f4b
commit
2c399fe1aa
1 changed files with 4 additions and 5 deletions
|
@ -3,8 +3,8 @@
|
|||
{% load humanize %}
|
||||
|
||||
{% if suggested_users %}
|
||||
{% for user in suggested_users %}
|
||||
<div class="column is-flex is-flex-grow-0">
|
||||
{% for user in suggested_users %}
|
||||
<div class="box has-text-centered is-shadowless has-background-white-bis m-0">
|
||||
<a href="{{ user.local_path }}" class="has-text-black">
|
||||
{% include 'snippets/avatar.html' with user=user large=True %}
|
||||
|
@ -33,10 +33,9 @@
|
|||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<div >
|
||||
<p>No potential members found for "{{ query }}"</p>
|
||||
</div>
|
||||
<p>No potential members found for "{{ query }}"</p><br/>
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue