mirror of
				https://github.com/simon987/sist2.git
				synced 2025-10-31 16:06:53 +00:00 
			
		
		
		
	Code style
This commit is contained in:
		
							parent
							
								
									a8505cb8c1
								
							
						
					
					
						commit
						1ac8b40e3d
					
				| @ -95,7 +95,6 @@ typedef int (*read_func_t)(struct vfile *, void *buf, size_t size); | ||||
| typedef void (*close_func_t)(struct vfile *); | ||||
| 
 | ||||
| typedef struct vfile { | ||||
| 
 | ||||
|     union { | ||||
|         int fd; | ||||
|         struct archive *arc; | ||||
|  | ||||
| @ -102,6 +102,7 @@ body { | ||||
|     border-bottom: none; | ||||
|     border-left: none; | ||||
|     border-right: none; | ||||
|     padding: .25rem 0.5rem; | ||||
| } | ||||
| 
 | ||||
| .list-group-item:first-child { | ||||
| @ -199,7 +200,7 @@ body { | ||||
|     max-width: 100%; | ||||
|     max-height: 175px; | ||||
|     margin: 0 auto 0; | ||||
|     padding: 3px 3px 0 3px; | ||||
|     padding: 3px 3px 0; | ||||
|     width: auto; | ||||
|     height: auto; | ||||
| } | ||||
| @ -208,7 +209,7 @@ body { | ||||
|     display: block; | ||||
|     max-width: 64px; | ||||
|     max-height: 64px; | ||||
|     margin: 0 auto 0; | ||||
|     margin: 0 auto; | ||||
|     width: auto; | ||||
|     height: auto; | ||||
| } | ||||
| @ -391,10 +392,6 @@ option { | ||||
|     margin-top: 1em; | ||||
| } | ||||
| 
 | ||||
| .list-group-item { | ||||
|     padding: .25rem 0.5rem; | ||||
| } | ||||
| 
 | ||||
| .wrapper-sm { | ||||
|     min-width: 64px; | ||||
| } | ||||
|  | ||||
| @ -183,7 +183,7 @@ function infoButtonCb(hit) { | ||||
|                 "bitrate", "artist", "album", "album_artist", "genre", "title", "font_name", "tag" | ||||
|             ]); | ||||
|             Object.keys(doc) | ||||
|                 .filter(key => key.startsWith("_keyword.") || key.startsWith("_text.") || displayFields.has(key) || key.startsWith("exif_")) | ||||
|                 .filter(key => key.startsWith("_keyword.") || key.startsWith("_text.") || displayFields.has(key) || key.startsWith("exif_")) | ||||
|                 .forEach(key => { | ||||
|                     tbody.append($("<tr>") | ||||
|                         .append($("<td>").text(key)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user