Skip to content

Commit cd55212

Browse files
committed
Fix(web): Evidence render markdown
1 parent 83f0154 commit cd55212

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web/src/components/EvidenceCard.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ const Index = styled.p`
3636
display: inline-block;
3737
`;
3838

39+
const StyledReactMarkdown = styled(ReactMarkdown)`
40+
a {
41+
font-size: 16px;
42+
}
43+
`;
44+
3945
const BottomShade = styled.div`
4046
background-color: ${({ theme }) => theme.lightBlue};
4147
display: flex;
@@ -120,7 +126,7 @@ const EvidenceCard: React.FC<IEvidenceCard> = ({ evidence, sender, index }) => {
120126
{data ? (
121127
<>
122128
<h3>{data.name}</h3>
123-
<ReactMarkdown>{data.description}</ReactMarkdown>
129+
<StyledReactMarkdown>{data.description}</StyledReactMarkdown>
124130
</>
125131
) : (
126132
<p>{evidence}</p>

0 commit comments

Comments
 (0)