mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	- style fixes
- add part description as mouse-over text
This commit is contained in:
		@@ -560,6 +560,11 @@
 | 
				
			|||||||
    transition: 0.1s;
 | 
					    transition: 0.1s;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.search-autocomplete-item {
 | 
				
			||||||
 | 
					    border-top: 1px solid #EEE;
 | 
				
			||||||
 | 
					    margin-bottom: 2px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.modal {
 | 
					.modal {
 | 
				
			||||||
  overflow: hidden;
 | 
					  overflow: hidden;
 | 
				
			||||||
  z-index: 9999;
 | 
					  z-index: 9999;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -159,9 +159,9 @@ function inventreeDocReady() {
 | 
				
			|||||||
                $(this).data('ui-autocomplete')._renderItem = function(ul, item) {
 | 
					                $(this).data('ui-autocomplete')._renderItem = function(ul, item) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    var html = `
 | 
					                    var html = `
 | 
				
			||||||
                    <div class=''>
 | 
					                    <div class='search-autocomplete-item' title='${item.data.description}'>
 | 
				
			||||||
                        <a href='/part/${item.id}/'>
 | 
					                        <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>
 | 
					                        </a>
 | 
				
			||||||
                        <span class='flex' style='flex-grow: 1;'></span>
 | 
					                        <span class='flex' style='flex-grow: 1;'></span>
 | 
				
			||||||
                    `;
 | 
					                    `;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user