mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 07:13:02 +00:00 
			
		
		
		
	fix #2014 (User menu dropdown in caliblur is tiny and presents scrollbars)
Fix display of nonexistent series_index Fix caliblur add-to-shelf
This commit is contained in:
		| @@ -113,6 +113,7 @@ def yesno(value, yes, no): | ||||
|  | ||||
| @jinjia.app_template_filter('formatfloat') | ||||
| def formatfloat(value, decimals=1): | ||||
|     value = 0 if not value else value | ||||
|     return ('{0:.' + str(decimals) + 'g}').format(value) | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -3291,7 +3291,6 @@ div.btn-group[role=group][aria-label="Download, send to Kindle, reading"] .dropd | ||||
|     transform-origin: center top; | ||||
|     border: 0; | ||||
|     left: 0 !important; | ||||
|     max-height: 80%; | ||||
|     overflow-y: auto; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -413,7 +413,11 @@ if($("body.advsearch").length > 0) { | ||||
|   }); | ||||
|   $('#add-to-shelf').height("40px"); | ||||
|   function search_dropdownToggle() { | ||||
|       topPos = $("#add-to-shelf").offset().top-20; | ||||
|       if( $("#add-to-shelf").length) { | ||||
|           topPos = $("#add-to-shelf").offset().top - 20; | ||||
|       } else { | ||||
|           topPos = 0 | ||||
|       } | ||||
|       if ($('div[aria-label="Add to shelves"]').length > 0) { | ||||
|  | ||||
|           position = $('div[aria-label="Add to shelves"]').offset().left | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzie Isaacs
					Ozzie Isaacs