File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ export const Logs: FC<LogsProps> = ({ lines, className = "" }) => {
21
21
< div className = { combineClasses ( [ className , styles . root ] ) } >
22
22
{ lines . map ( ( line , idx ) => (
23
23
< div className = { styles . line } key = { idx } >
24
- < div className = { styles . time } > { dayjs ( line . time ) . format ( `HH:mm:ss.SSS` ) } </ div >
25
- < div > { line . output } </ div >
24
+ < span className = { styles . time } > { dayjs ( line . time ) . format ( `HH:mm:ss.SSS` ) } </ span >
25
+
26
+ < span > { line . output } </ span >
26
27
</ div >
27
28
) ) }
28
29
</ div >
@@ -42,12 +43,10 @@ const useStyles = makeStyles((theme) => ({
42
43
overflowX : "auto" ,
43
44
} ,
44
45
line : {
45
- display : "flex" ,
46
- alignItems : "baseline" ,
46
+ whiteSpace : "nowrap" ,
47
47
} ,
48
48
time : {
49
49
width : theme . spacing ( 12.5 ) ,
50
- marginRight : theme . spacing ( 3 ) ,
51
- flexShrink : 0 ,
50
+ display : "inline-block" ,
52
51
} ,
53
52
} ) )
You can’t perform that action at this time.
0 commit comments