diff options
| author | Bobby <[email protected]> | 2023-07-31 20:58:45 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-07-31 20:58:45 -0400 |
| commit | 0eb434ebceba0088b78679243c58d16eb1cf2259 (patch) | |
| tree | a1de8fa4cabd7ec6152ede3a8763b3eea0a4b6a9 /templates | |
| parent | 2b94b782ca5c7aa875c8c8451cd21e305fc89e4d (diff) | |
| download | thatcomputerscientist-0eb434ebceba0088b78679243c58d16eb1cf2259.tar.xz thatcomputerscientist-0eb434ebceba0088b78679243c58d16eb1cf2259.zip | |
Fix `max-width` for comment search results
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/blog/partials/search/comment_list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/blog/partials/search/comment_list.html b/templates/blog/partials/search/comment_list.html index d45896bb..7afbced0 100644 --- a/templates/blog/partials/search/comment_list.html +++ b/templates/blog/partials/search/comment_list.html @@ -1,7 +1,7 @@ {% load static %} <ul style="list-style: none; padding: 0px; margin: 0px;"> {% for comment in comments %} - <li style="background: #1c1c1c;padding: 10px; margin-bottom: 10px;border-radius: 8px;"> + <li style="background: #1c1c1c;padding: 10px; margin-bottom: 10px;border-radius: 8px; max-width: 530px;"> <p><a class="notranslate" {% if comment.user%}href="{% url 'blog:user_activity' comment.user.username %}"{% endif %}>{% if comment.user %}{{ comment.user.username }}{% else %}{{ comment.anonymous_user.name }}{% endif %}</a> commented on <a href="{% url 'blog:post' comment.post.slug %}#comment-{{ comment.id }}">{{ comment.post.title }}</a> on <em>{{ comment.created_at | date:"M d, Y" }}</em>: <blockquote style="background: none; margin-top: 15px; padding: 0px 20px; margin-left: 20px;">{{ comment.body|safe }}</blockquote></p> </li> |
