mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Display tweaks to make directory card size more consistent
This commit is contained in:
parent
6548291571
commit
7711d43380
1 changed files with 3 additions and 3 deletions
|
@ -40,17 +40,17 @@
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
<a href="{{ user.local_path }}" class="is-block mb-2">
|
<a href="{{ user.local_path }}" class="is-block mb-2">
|
||||||
<span class="title is-4 is-block">{{ user.display_name }}</span>
|
<span class="title is-4 is-block">{{ user.display_name }}</span>
|
||||||
<span class="subtitle is-6 is-block">@{{ user|username }}</span>
|
<span class="subtitle is-7 is-block">@{{ user|username }}</span>
|
||||||
</a>
|
</a>
|
||||||
{% include 'snippets/follow_button.html' with user=user %}
|
{% include 'snippets/follow_button.html' with user=user %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if user.summary %}
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
{% if user.summary %}
|
||||||
{{ user.summary | to_markdown | safe | truncatechars_html:40 }}
|
{{ user.summary | to_markdown | safe | truncatechars_html:40 }}
|
||||||
|
{% else %} {% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
<footer class="card-footer content">
|
<footer class="card-footer content">
|
||||||
<div class="card-footer-item">
|
<div class="card-footer-item">
|
||||||
|
|
Loading…
Reference in a new issue