mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Fix safari specific issue with line clamp on description #4348
This commit is contained in:
		
							parent
							
								
									f44c2d9e11
								
							
						
					
					
						commit
						4968864498
					
				| @ -819,6 +819,17 @@ export default { | |||||||
|   -webkit-line-clamp: 4; |   -webkit-line-clamp: 4; | ||||||
|   max-height: calc(6 * 1lh); |   max-height: calc(6 * 1lh); | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | /* Safari-specific fix for the description clamping */ | ||||||
|  | @supports (-webkit-touch-callout: none) { | ||||||
|  |   #item-description { | ||||||
|  |     position: relative; | ||||||
|  |     display: block; | ||||||
|  |     overflow: hidden; | ||||||
|  |     max-height: calc(6 * 1lh); | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| #item-description.show-full { | #item-description.show-full { | ||||||
|   -webkit-line-clamp: unset; |   -webkit-line-clamp: unset; | ||||||
|   max-height: 999rem; |   max-height: 999rem; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user