@@ -193,7 +193,7 @@ export function LogLine({
|
||||
(highlight === highlightResultIndex
|
||||
? classes.textSelectedHighlight
|
||||
: classes.textHighlight),
|
||||
!!setRowHeight && classes.modifierTextWrap,
|
||||
{ [classes.textWrap]: !!setRowHeight },
|
||||
)}
|
||||
>
|
||||
<Linkify options={{ render: renderLink }}>{text}</Linkify>
|
||||
|
||||
@@ -50,8 +50,7 @@ export type LogViewerClassKey =
|
||||
| 'modifierBackgroundMagenta'
|
||||
| 'modifierBackgroundCyan'
|
||||
| 'modifierBackgroundWhite'
|
||||
| 'modifierBackgroundGrey'
|
||||
| 'modifierTextWrap';
|
||||
| 'modifierBackgroundGrey';
|
||||
|
||||
export const useStyles = makeStyles(
|
||||
theme => ({
|
||||
@@ -168,7 +167,7 @@ export const useStyles = makeStyles(
|
||||
modifierBackgroundGrey: {
|
||||
background: colors.grey[500],
|
||||
},
|
||||
modifierTextWrap: {
|
||||
textWrap: {
|
||||
whiteSpace: 'pre-wrap',
|
||||
wordBreak: 'break-all',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user