@@ -48,7 +48,7 @@ export const Alerts = ({message, type, onCancel, time}) => {
4848 < div >
4949 < AiOutlineWarning className = "me-1" />
5050 < strong > Warning: </ strong >
51- < div className = "text-wrap " > { message } </ div >
51+ < pre className = "pre--error " > { message } </ pre >
5252 </ div >
5353 < Button variant = "close" size = "xs" onClick = { ( ) => onClose ( "warning" ) } />
5454 </ div >
@@ -66,7 +66,7 @@ export const Alerts = ({message, type, onCancel, time}) => {
6666 < div className = "w-100" >
6767 < FaExclamationTriangle className = "me-1 mb-1" />
6868 < strong > ERROR: </ strong >
69- < div className = "text-wrap " > { message } </ div >
69+ < pre className = "pre--error " > { message } </ pre >
7070 </ div >
7171 < AlertCloseButton className = { "alert_btn_close alert_danger_text" } onClick = { ( ) => onClose ( "danger" ) } />
7272 </ div >
@@ -83,7 +83,7 @@ export const Alerts = ({message, type, onCancel, time}) => {
8383 < div >
8484 < AiOutlineCheckCircle className = "me-1" />
8585 < strong > Success: </ strong >
86- < div className = "text-wrap " > { message } </ div >
86+ < pre className = "pre--error " > { message } </ pre >
8787 { time && ` ${ queryTimeDisplay ( updateTime ) } ` }
8888 </ div >
8989 < Button variant = "close" size = "xs" onClick = { ( ) => onClose ( "success" ) } />
@@ -93,15 +93,14 @@ export const Alerts = ({message, type, onCancel, time}) => {
9393 if ( type == TERMINUS_MESSAGE )
9494 return < Alert
9595 variant = "light"
96- className = "text-break"
9796 show = { shouldShowAlert ( "light" ) }
9897 onClose = { ( ) => onClose ( "light" ) } >
9998
10099 < div className = "d-flex justify-content-between" >
101100 < div >
102101 < BsInfoCircle className = "me-1" />
103102 < strong > Info: </ strong >
104- < div className = "text-wrap " > { message } </ div >
103+ < pre className = "pre--error " > { message } </ pre >
105104 </ div >
106105 < Button variant = "close" size = "xs" onClick = { ( ) => onClose ( "light" ) } />
107106 </ div >
0 commit comments