fix: adjust the spacings for vulnerabilities page and make "View the security advisory" links italic
This commit is contained in:
parent
f8a7e9f791
commit
dacff08ede
1 changed files with 5 additions and 5 deletions
|
@ -77,18 +77,18 @@ const Vulnerabilities = async () => {
|
||||||
{reversedDownloads.map((download) => (
|
{reversedDownloads.map((download) => (
|
||||||
<div
|
<div
|
||||||
key={download._id}
|
key={download._id}
|
||||||
className="flex-start flex-col prose dark:prose-invert gap-4"
|
className="flex-start flex-col prose max-w-full md:prose-lg dark:prose-invert gap-2"
|
||||||
>
|
>
|
||||||
<h2 className="font-semibold text-3xl -mb-2">{download.version}</h2>
|
<h2 className="mb-0 md:mb-0">{download.version}</h2>
|
||||||
<ul className="list-disc pl-5">
|
<ul>
|
||||||
{(download.bullets ?? []).map((bullet, index) => (
|
{(download.bullets ?? []).map((bullet, index) => (
|
||||||
<li key={index}>
|
<li key={index}>
|
||||||
{bullet.point}
|
{bullet.point}
|
||||||
{bullet.securityAdvisoryUrl ? (
|
{bullet.securityAdvisoryUrl ? (
|
||||||
<>
|
<>
|
||||||
{" "}
|
{" "}
|
||||||
<Link href={bullet.securityAdvisoryUrl}>
|
<Link href={bullet.securityAdvisoryUrl} className="italic">
|
||||||
View security advisory
|
View the security advisory
|
||||||
</Link>
|
</Link>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in a new issue