🐛(component): 修复 drawer content 高度异常
This commit is contained in:
		
							parent
							
								
									8a0db60bed
								
							
						
					
					
						commit
						66c6443a3b
					
				| @ -150,7 +150,7 @@ export function calculateContent( | |||||||
|         return "calc(" + height + " - 86px)"; |         return "calc(" + height + " - 86px)"; | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     if (type == 1) { |     if (type == 1 || type == 4) { | ||||||
|       if (title) { |       if (title) { | ||||||
|         return "calc(" + height + " - 102px)"; |         return "calc(" + height + " - 102px)"; | ||||||
|       } else { |       } else { | ||||||
| @ -172,7 +172,7 @@ export function calculateContent( | |||||||
|         return isMessage ? height : "calc(" + height + " - 86px)"; |         return isMessage ? height : "calc(" + height + " - 86px)"; | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     if (type == 1) { |     if (type == 1 || type == 4) { | ||||||
|       if (title) { |       if (title) { | ||||||
|         return "calc(" + height + " - 51px)"; |         return "calc(" + height + " - 51px)"; | ||||||
|       } else { |       } else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user