Skip to content

Scheduling infrastructure for absolutely everyone.

fix: small ui bug in 404 pages (#19254)

Benny Joo1dc869971e85
diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx
index a3bfdee3910..5cb55dd872d 100644
--- a/apps/web/app/not-found.tsx
+++ b/apps/web/app/not-found.tsx
@@ -122,8 +122,7 @@ async function NotFound() {
<span className="mt-2 inline-block text-lg">{t("check_spelling_mistakes_or_go_back")}</span>
) : IS_CALCOM ? (
<a target="_blank" href={url} className="mt-2 inline-block text-lg" rel="noreferrer">
- {t(`404_the_${pageType.toLowerCase()}`)}
-
+ {t(`404_the_${pageType.toLowerCase()}`)}{" "}
{username ? (
<>
<strong className="text-blue-500">{username}</strong>
@@ -137,7 +136,7 @@ async function NotFound() {
{t(`404_the_${pageType.toLowerCase()}`)}{" "}
{username ? (
<>
- <strong className="text-lgtext-green-500 mt-2 inline-block">{username}</strong>{" "}
+ <strong className="mt-2 inline-block text-lg text-green-500">{username}</strong>{" "}
{t("is_still_available")}
</>
) : null}
diff --git a/apps/web/pages/404.tsx b/apps/web/pages/404.tsx
index a90e17681f8..f809a11f10b 100644
--- a/apps/web/pages/404.tsx
+++ b/apps/web/pages/404.tsx
@@ -155,7 +155,7 @@ export default function Custom404() {
) : (
<span className="mt-2 inline-block text-lg">
{t(`404_the_${currentPageType.toLowerCase()}`)}{" "}
- <strong className="text-lgtext-green-500 mt-2 inline-block">{username}</strong>{" "}
+ <strong className="mt-2 inline-block text-lg text-green-500">{username}</strong>{" "}
{t("is_still_available")}
</span>
)}