Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: adjust notfound page styling based on location in dom

Scott Wilson668338192089
diff --git a/frontend/src/pages/public/NotFoundPage/NotFoundPage.tsx b/frontend/src/pages/public/NotFoundPage/NotFoundPage.tsx
index 5d31b4dbff..10137602a1 100644
--- a/frontend/src/pages/public/NotFoundPage/NotFoundPage.tsx
+++ b/frontend/src/pages/public/NotFoundPage/NotFoundPage.tsx
@@ -3,11 +3,11 @@ import { Link } from "@tanstack/react-router";
export const NotFoundPage = () => {
return (
- <div className="flex flex-col justify-between bg-bunker-800 md:h-screen">
+ <div className="flex flex-col justify-between bg-bunker-800 [#root>&]:h-screen">
<Helmet>
<title>Infisical | Page Not Found</title>
</Helmet>
- <div className="flex h-screen w-screen flex-col items-center justify-center text-gray-200">
+ <div className="flex h-full w-full flex-col items-center justify-center text-gray-200">
<p className="mt-32 text-4xl">Oops, something went wrong</p>
<p className="mt-2 mb-1 text-lg">
Think this is a mistake? Email{" "}