mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
- style fixes
- add part description as mouse-over text
This commit is contained in:
parent
9cfcb6579f
commit
b1598cfd10
@ -560,6 +560,11 @@
|
||||
transition: 0.1s;
|
||||
}
|
||||
|
||||
.search-autocomplete-item {
|
||||
border-top: 1px solid #EEE;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.modal {
|
||||
overflow: hidden;
|
||||
z-index: 9999;
|
||||
|
@ -159,9 +159,9 @@ function inventreeDocReady() {
|
||||
$(this).data('ui-autocomplete')._renderItem = function(ul, item) {
|
||||
|
||||
var html = `
|
||||
<div class=''>
|
||||
<div class='search-autocomplete-item' title='${item.data.description}'>
|
||||
<a href='/part/${item.id}/'>
|
||||
<span><img class='hover-img-thumb' src='${item.thumbnail || "/static/img/blank_image.png"}'> ${item.label}</span>
|
||||
<span style='padding-right: 10px;'><img class='hover-img-thumb' src='${item.thumbnail || "/static/img/blank_image.png"}'> ${item.label}</span>
|
||||
</a>
|
||||
<span class='flex' style='flex-grow: 1;'></span>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user