mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	Preserve image aspect ratio in results
Noticed that images are often distorted in the results due to a hard minimum height. This keeps the 4-per-row image results consistent in row height without distorting wider images.
This commit is contained in:
		
							parent
							
								
									bec9906b9e
								
							
						
					
					
						commit
						c61e1a8165
					
				@ -33,12 +33,12 @@
 | 
			
		||||
// image formating of results
 | 
			
		||||
.result-images {
 | 
			
		||||
    float: left !important;
 | 
			
		||||
    height: 138px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.img-thumbnail {
 | 
			
		||||
    margin: 5px;
 | 
			
		||||
    max-height: 128px;
 | 
			
		||||
    min-height: 128px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// video formating of results
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user