Skip to content

Commit

Permalink
chore: nitpick in evidence cards
Browse files Browse the repository at this point in the history
  • Loading branch information
kemuru committed Dec 19, 2024
1 parent 6ec0c93 commit 37d768d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/src/components/EvidenceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ const IndexAndName = styled.div`
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
gap: 5px;
`;

const Index = styled.p`
display: inline-block;
color: ${({ theme }) => theme.secondaryText};
`;

const StyledReactMarkdown = styled(ReactMarkdown)`
Expand Down Expand Up @@ -230,7 +231,7 @@ const EvidenceCard: React.FC<IEvidenceCard> = ({
<StyledCard>
<TopContent>
<IndexAndName>
<Index>#{index}: </Index>
<Index>#{index}. </Index>
<h3>{name}</h3>
</IndexAndName>
{name && description ? <StyledReactMarkdown>{description}</StyledReactMarkdown> : <p>{evidence}</p>}
Expand Down

0 comments on commit 37d768d

Please sign in to comment.