web/quotes: switch to pre-wrap to format better on mobile
This commit is contained in:
parent
de8bb349f0
commit
2909cc2bcb
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<div>
|
<div>
|
||||||
<p><a href="/{{ quote.id }}/">#{{ quote.id }}</a></p>
|
<p><a href="/{{ quote.id }}/">#{{ quote.id }}</a></p>
|
||||||
<pre>{{ quote.quote }}</pre>
|
<p class="whitespace-pre-wrap font-mono">{{ quote.quote }}</p>
|
||||||
<p class="text-sm">added by <span class="font-mono">{{ quote.added_by.username }}</span> on <span class="font-mono">{{ quote.added_at }}</span></p>
|
<p class="text-sm">added by <span class="font-mono">{{ quote.added_by.username }}</span> on <span class="font-mono">{{ quote.added_at }}</span></p>
|
||||||
{% if request.user == quote.added_by %}
|
{% if request.user == quote.added_by %}
|
||||||
<a href="/{{ quote.id }}/delete/" class="text-sm underline">del</a>
|
<a href="/{{ quote.id }}/delete/" class="text-sm underline">del</a>
|
||||||
|
|
Loading…
Reference in a new issue