@@ -21,8 +21,9 @@ type Props = {
2121 maxEndpointSize : number ,
2222 vertical : boolean ,
2323 isFiltered : boolean ,
24+ className : string ,
2425} ;
25- const Request = observer ( ( { isActive, highlight, onClick, store, onResend, maxStatusSize, maxMethodSize, maxEndpointSize, vertical, isFiltered } : Props ) => {
26+ const Request = observer ( ( { isActive, highlight, onClick, store, onResend, maxStatusSize, maxMethodSize, maxEndpointSize, vertical, isFiltered, className } : Props ) => {
2627 const [ openNoteDialog , setOpenNoteDialog ] = React . useState ( false ) ;
2728
2829 const handleClick = ( ) => {
@@ -39,7 +40,7 @@ const Request = observer(({ isActive, highlight, onClick, store, onResend, maxSt
3940
4041 return (
4142 < > < div >
42- < div className = "request__msg-container" >
43+ < div className = { "request__msg-container " + className } >
4344 < div className = "request__msg-header" >
4445 < div className = "request__msg-time-ms" >
4546 { message . protocol !== 'log:' ?
@@ -105,6 +106,7 @@ const Request = observer(({ isActive, highlight, onClick, store, onResend, maxSt
105106 </ div >
106107
107108 < div className = { `request__msg
109+ ${ message . protocol === 'log:' ? ' wrap' : '' }
108110 ${ isActive ? ' active' : '' }
109111 ${ highlight ? ' highlight' : '' }
110112 ${ ! store . isHttpOrHttps ( ) && ! store . isNoResponse ( ) && store . isError ( ) ? ' error' : '' }
@@ -147,7 +149,7 @@ const Request = observer(({ isActive, highlight, onClick, store, onResend, maxSt
147149 displayDataTypes = { false }
148150 quotesOnKeys = { false } /> }
149151 </ div >
150- </ div >
152+ </ div >
151153 < NoteDialog
152154 message = { store }
153155 open = { openNoteDialog }
0 commit comments