Move toast detail to a new line
							parent
							
								
									4a883f2e88
								
							
						
					
					
						commit
						9aa1daa3e1
					
				|  | @ -40,13 +40,14 @@ const GenericToast: React.FC<XOR<IPropsExtended, IProps>> = ({ | |||
|     onAccept, | ||||
|     onReject, | ||||
| }) => { | ||||
|     const detailContent = detail ? <span className="mx_Toast_detail"> | ||||
|     const detailContent = detail ? <div className="mx_Toast_detail"> | ||||
|         {detail} | ||||
|     </span> : null; | ||||
|     </div> : null; | ||||
| 
 | ||||
|     return <div> | ||||
|         <div className="mx_Toast_description"> | ||||
|             {description} {detailContent} | ||||
|             {description} | ||||
|             {detailContent} | ||||
|         </div> | ||||
|         <div className="mx_Toast_buttons" aria-live="off"> | ||||
|             {onReject && rejectLabel && <FormButton label={rejectLabel} kind="danger" onClick={onReject} /> } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 J. Ryan Stinnett
						J. Ryan Stinnett