Skip to content

Commit 0073a0f

Browse files
committed
Improved error presentation in HTML
Signed-off-by: Jean-Baptiste Bianchi <[email protected]>
1 parent c371dfc commit 0073a0f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pages/spec/1.0.0/errors/[...id].astro

+4-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ const { type, description, status } = entry.data;
2424
---
2525

2626
<Layout>
27-
<Section title="Standard Error">
27+
<Section >
28+
<h2 class="text-primary text-3xl font-bold mb-12">Standard Error</h2>
2829
<div class="mx-auto w-full w-1/2">
29-
<h3 class="text-xl font-bold mb-4">{type}</h3>
30-
<p class="italic ">Code: {status}</p>
30+
<h3 class="text-xl font-bold">{type}</h3>
31+
<p class="text-accent font-medium">Code: {status}</p>
3132
<p>{description}</p>
3233
</div>
3334
</Section>

0 commit comments

Comments
 (0)