Align suggested users when there are fewer than 5

This commit is contained in:
Mouse Reeve 2021-04-01 20:01:09 -07:00
parent 7121b74a6e
commit 34a32032c9

View file

@ -3,7 +3,7 @@
{% load humanize %} {% load humanize %}
<div class="columns is-mobile scroll-x mb-0"> <div class="columns is-mobile scroll-x mb-0">
{% for user in suggested_users %} {% for user in suggested_users %}
<div class="column is-flex"> <div class="column is-flex is-flex-grow-0">
<div class="box has-text-centered is-shadowless has-background-white-bis m-0"> <div class="box has-text-centered is-shadowless has-background-white-bis m-0">
<a href="{{ user.local_path }}" class="has-text-black"> <a href="{{ user.local_path }}" class="has-text-black">
{% include 'snippets/avatar.html' with user=user large=True %} {% include 'snippets/avatar.html' with user=user large=True %}