|
|
@ -387,7 +387,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
? "alert alert-warning" |
|
|
|
? "alert alert-warning" |
|
|
|
: "alert alert-danger" |
|
|
|
: "alert alert-danger" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
|
style={{ cursor: "pointer" }} |
|
|
|
style={{ cursor: "pointer", overflow: 'hidden', textOverflow: 'ellipsis' }} |
|
|
|
onClick={async () => { |
|
|
|
onClick={async () => { |
|
|
|
await props.analysisModule.call( |
|
|
|
await props.analysisModule.call( |
|
|
|
"editor", |
|
|
|
"editor", |
|
|
@ -426,7 +426,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
<div |
|
|
|
<div |
|
|
|
key={index} |
|
|
|
key={index} |
|
|
|
className="alert alert-danger" |
|
|
|
className="alert alert-danger" |
|
|
|
style={{ cursor: "pointer" }} |
|
|
|
style={{ cursor: "pointer", overflow: 'hidden', textOverflow: 'ellipsis' }} |
|
|
|
onClick={async () => { |
|
|
|
onClick={async () => { |
|
|
|
await props.analysisModule.call( |
|
|
|
await props.analysisModule.call( |
|
|
|
"editor", |
|
|
|
"editor", |
|
|
@ -452,9 +452,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
}} |
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<span className="text-wrap"> |
|
|
|
<span className="text-wrap" style={{ overflow: 'hidden', textOverflow: 'ellipsis' }}> |
|
|
|
{hint.formattedMessage} |
|
|
|
{hint.formattedMessage} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
<br /> |
|
|
|
<span>{hint.type}</span> |
|
|
|
<span>{hint.type}</span> |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
<span>{`${hint.column}:${hint.line}`}</span> |
|
|
|
<span>{`${hint.column}:${hint.line}`}</span> |
|
|
|