add correct list style to worktimeline item (#136)

This commit is contained in:
angbur 2022-12-18 20:45:09 +01:00 committed by GitHub
parent d9008bacc8
commit 8bf00cf179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,17 +35,17 @@ const { job, i18n } = Astro.props;
locale={i18n.locale}
translationForNow={i18n.translations.now}
/>
<ul class="pt-3 pb-6">
<ul class="ml-[18px] list-disc pt-3 pb-6 text-white">
{
Array.isArray(job.description) ? (
job.description.map((d) => (
<li>
<Typography variant="paragraph">&#x2022; {d}</Typography>
<Typography variant="paragraph">{d}</Typography>
</li>
))
) : (
<li>
<Typography variant="paragraph">&#x2022; {job.description}</Typography>
<Typography variant="paragraph">{job.description}</Typography>
</li>
)
}