Minor style fixes around result rendering (#1208)

This commit is contained in:
Charis Kyriakou
2022-03-15 14:43:24 +00:00
committed by GitHub
parent 9d99fc521e
commit 46a1dd57f4
2 changed files with 4 additions and 3 deletions

View File

@@ -216,7 +216,8 @@ const FileCodeSnippet = ({
paddingTop="0.01em"
paddingLeft="1.5em"
paddingRight="0.5em"
paddingBottom="0.2em">
paddingBottom="0.2em"
sx={{ wordBreak: 'break-word' }}>
<CodeLine
line={line}
lineNumber={startingLine + index}

View File

@@ -273,8 +273,8 @@ const AnalysesResultsDescription = ({
const showMaxResultsMessage = analysesResults.some(a => a.rawResults?.capped);
const maxRawResultsMessage = <>
<VerticalSpace size={1} />
Some repositories have more than {MAX_RAW_RESULTS} results. We will only show you up to {MAX_RAW_RESULTS}
results for each repository.
Some repositories have more than {MAX_RAW_RESULTS} results. We will only show you up to
{MAX_RAW_RESULTS} results for each repository.
</>;
return (