Add margin between article heading and details (fixes #68)

Additionally fix the tags not floating to the end of article card, and
add a nice top border to details
This commit is contained in:
daudix
2024-08-29 06:28:18 +03:00
parent 61fb91b7b3
commit be4605cdfb
6 changed files with 31 additions and 12 deletions

View File

@ -127,7 +127,7 @@
function formatSearchResultItem(item, terms) {
return '<div class="item">'
+ `<a href="${item.ref}">${item.doc.title}</a>`
+ `<div>${makeTeaser(item.doc.body, terms)}</div>`
+ `<span>${makeTeaser(item.doc.body, terms)}</span>`
+ '</div>';
}