diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T22·41+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T22·41+0200 |
commit | 02a466a28be4c6fdcd88075d6345841759ff630c (patch) | |
tree | 77363e9993b867af49fc2445a90c495754dc0ffb /templates/search.html | |
parent | ba33efd772575bbd51643fbf2aa176df3bced258 (diff) |
style(templates): Minor fixes to search & index layouts
Diffstat (limited to 'templates/search.html')
-rw-r--r-- | templates/search.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/search.html b/templates/search.html index 3bb30e5d60b3..2254c97f0c25 100644 --- a/templates/search.html +++ b/templates/search.html @@ -32,11 +32,10 @@ <div class="col-12"> <div class="list-group"> {% for result in results -%} - <a href="/thread/{{ result.thread_id }}#post-{{ result.post_id }}" class="list-group-item flex-column list-group-item-action align-items-start"> + <a href="/thread/{{ result.thread_id }}#post-{{ result.post_id }}" class="list-group-item list-group-item-action flex-column align-items-start"> <div class="d-flex w-100 justify-content-between"> - <h5 class="mb-1">In thread '{{ result.title }}':</h5> - <div>{{ result.headline }}</div> - <div>(Posted by <i>{{ result.author }})</i></div> + <p class="mb-1">{{ result.headline }}</p> + <small class="float-right text-muted"><i>(Posted in '{{ result.title }}' by {{ result.author }})</i></small> </div> </a> {%- endfor %} |