Skip to content

Commit

Permalink
Fix layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonjetz committed Sep 26, 2023
1 parent e934548 commit 884a256
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fragmentarium/ui/ngram-matching/NgramMatching.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function NgramMatching({
new FragmentCrumb(number),
new TextCrumb('N-Gram Matching'),
]}
title={`N-Gram Matching for ${number}`}
title={`Find Similar Chapters for ${number}`}
>
<SessionContext.Consumer>
{(session: Session): ReactNode =>
Expand All @@ -47,6 +47,7 @@ function NgramMatching({
<Container>
{ngramScores.map((score, index) => (
<Row key={index}>
<Col xs={1}>{index + 1}.</Col>
<Col>
<Markdown text={genreFromAbbr(score.textId.genre)} />
{score.textName && (
Expand All @@ -58,7 +59,7 @@ function NgramMatching({
{' > '}
{chapterIdToString(_.omit(score, 'score', 'textName'))}
</Col>
<Col>{score.score.toFixed(4)}</Col>
<Col xs={1}>{score.score.toFixed(4)}</Col>
</Row>
))}
</Container>
Expand Down

0 comments on commit 884a256

Please sign in to comment.