mirror of
https://github.com/zen-browser/www
synced 2026-04-26 09:35:00 +02:00
Fix: update ReleaseNoteItem styling and HTML handling for extra content
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user