Summary display updates

This commit is contained in:
Kylie 2021-07-31 20:30:21 -04:00
parent 3f01cf8788
commit a6b8d44627
3 changed files with 7 additions and 1 deletions

View file

@ -76,6 +76,10 @@ body {
white-space: pre-wrap !important;
}
.display-inline p {
display: inline !important;
}
/** Shelving
******************************************************************************/

View file

@ -18,7 +18,7 @@
</div>
</div>
<div class="preserve-whitespace">
<div class="display-inline">
{% if user.summary %}
{{ user.summary|to_markdown|safe|truncatechars_html:40 }}
{% else %}&nbsp;{% endif %}

View file

@ -28,8 +28,10 @@
</div>
{% if user.summary %}
{% spaceless %}
<div class="column box has-background-white-bis content preserve-whitespace">
{{ user.summary|to_markdown|safe }}
{% endspaceless %}
</div>
{% endif %}
</div>