Skip to content

Commit db7012a

Browse files
committed
fix: simplify text wrapping in alert components by removing unnecessary inline-flex classes
1 parent b68d47a commit db7012a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/domain/headers/headers-section.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function HeadersSection({
5151
<Alert className="border-black/10 bg-background/40 shadow-[inset_0_1px_0_rgba(255,255,255,0.08)] backdrop-blur supports-[backdrop-filter]:bg-background/40 dark:border-white/10">
5252
<Info aria-hidden="true" />
5353
<AlertDescription>
54-
<p className="inline-flex items-center gap-1 text-[13px]">
54+
<p className="text-[13px]">
5555
Server returned{" "}
5656
<a
5757
href={`https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/${status}`}
@@ -68,7 +68,7 @@ export function HeadersSection({
6868
aria-hidden="true"
6969
/>
7070
</a>
71-
<span>.</span>
71+
{"."}
7272
</p>
7373
</AlertDescription>
7474
</Alert>

components/domain/seo/redirected-alert.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function RedirectedAlert({
2626
>
2727
<Milestone aria-hidden="true" />
2828
<AlertDescription>
29-
<p className="inline-flex items-center gap-1 text-[13px]">
29+
<p className="text-[13px]">
3030
We followed a redirect to{" "}
3131
<Link
3232
href={`/${encodeURIComponent(dest)}`}
@@ -36,7 +36,7 @@ export function RedirectedAlert({
3636
<span className="font-medium">{dest}</span>
3737
<Search className="!h-3.5 !w-3.5" aria-hidden="true" />
3838
</Link>
39-
.
39+
{"."}
4040
</p>
4141
</AlertDescription>
4242
</Alert>

0 commit comments

Comments
 (0)