fix #1828 fix thumbnail display handling
This commit is contained in:
parent
1eadbaf544
commit
44ab912c54
2 changed files with 5 additions and 2 deletions
|
@ -37,12 +37,14 @@
|
|||
</h3>
|
||||
<div class="body">
|
||||
<c:if test="${thumbnailSupport && !empty doc.thumbnail}">
|
||||
<a class="link mr-3 d-none d-sm-flex" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}"
|
||||
<div class="mr-3">
|
||||
<a class="link d-none d-sm-flex" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}"
|
||||
data-order="${s.index}"
|
||||
> <img src="${fe:url('/images/blank.png')}"
|
||||
data-src="${fe:url('/thumbnail/')}?docId=${f:u(doc.doc_id)}&queryId=${f:u(queryId)}" class="thumbnail"
|
||||
>
|
||||
</a>
|
||||
</div>
|
||||
</c:if>
|
||||
<div class="description">${doc.content_description}</div>
|
||||
</div>
|
||||
|
|
|
@ -130,6 +130,7 @@ h3 {
|
|||
|
||||
#result .thumbnail {
|
||||
width: 100px;
|
||||
min-height: 30px;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
@ -154,4 +155,4 @@ h3 {
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue