Fix: update ReleaseNoteItem styling and HTML handling for extra content

This commit is contained in:
mr. M
2024-12-22 13:08:58 +01:00
parent 0f9d1dad2c
commit 6eb3f9862d

View File

@@ -27,7 +27,7 @@ const date = new Date(Date.parse(`${year}-${month}-${day}`));
</p>
{props.extra ? (
<p class="text-md mt-8 text-muted-foreground">
<p class="text-md mt-8 text-muted-foreground extra">
<Fragment set:html={props.extra.replace(/\n/g, '<br />')} />
</p>
) : null
@@ -105,4 +105,10 @@ const date = new Date(Date.parse(`${year}-${month}-${day}`));
opacity: .5;
}
}
.extra {
& a {
@apply !text-blue-500;
}
}
</style>