forked from mirrors/bookwyrm
Merge pull request #4 from EvilDrPurple/recognize-whitespace
Recognize whitespace
This commit is contained in:
commit
d062f6eb12
3 changed files with 7 additions and 1 deletions
|
@ -76,6 +76,10 @@ body {
|
||||||
white-space: pre-wrap !important;
|
white-space: pre-wrap !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.display-inline p {
|
||||||
|
display: inline !important;
|
||||||
|
}
|
||||||
|
|
||||||
/** Shelving
|
/** Shelving
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="preserve-whitespace">
|
<div class="display-inline">
|
||||||
{% if user.summary %}
|
{% if user.summary %}
|
||||||
{{ user.summary|to_markdown|safe|truncatechars_html:40 }}
|
{{ user.summary|to_markdown|safe|truncatechars_html:40 }}
|
||||||
{% else %} {% endif %}
|
{% else %} {% endif %}
|
||||||
|
|
|
@ -28,8 +28,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if user.summary %}
|
{% if user.summary %}
|
||||||
|
{% spaceless %}
|
||||||
<div class="column box has-background-white-bis content preserve-whitespace">
|
<div class="column box has-background-white-bis content preserve-whitespace">
|
||||||
{{ user.summary|to_markdown|safe }}
|
{{ user.summary|to_markdown|safe }}
|
||||||
|
{% endspaceless %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue