feat: better question page styling; ol styling
This commit is contained in:
parent
fad619385c
commit
e6e9f9bdbc
|
@ -59,3 +59,8 @@ ul {
|
||||||
list-style-type: square;
|
list-style-type: square;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ol {
|
||||||
|
list-style: decimal;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
|
@ -87,16 +87,19 @@ const LargeQuestionCard: React.FC<{
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="mx-auto max-w-prose">
|
||||||
|
<Section title="Question description">
|
||||||
<ReactMarkdown
|
<ReactMarkdown
|
||||||
linkTarget="_blank"
|
linkTarget="_blank"
|
||||||
className="font-normal text-gray-900 max-w-prose"
|
className="font-normal text-gray-900"
|
||||||
>
|
>
|
||||||
{question.description.replaceAll("---", "")}
|
{question.description.replaceAll("---", "")}
|
||||||
</ReactMarkdown>
|
</ReactMarkdown>
|
||||||
|
</Section>
|
||||||
<Section title="Indicators">
|
<Section title="Indicators">
|
||||||
<IndicatorsTable question={question} />
|
<IndicatorsTable question={question} />
|
||||||
</Section>
|
</Section>
|
||||||
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user