Skip to content

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

improvement: dynamic default pending component styling to adapt to different ui layouts

Scott Wilson7d19fee96242
diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx
index 4ff279e0d2..f2b8a5f976 100644
--- a/frontend/src/main.tsx
+++ b/frontend/src/main.tsx
@@ -63,7 +63,7 @@ const router = createRouter({
routeTree,
context: { serverConfig: null, queryClient },
defaultPendingComponent: () => (
- <div className="flex h-screen w-screen items-center justify-center bg-bunker-800">
+ <div className="flex h-full w-full items-center justify-center bg-bunker-800 [#root>&]:h-screen">
<Lottie isAutoPlay icon="infisical_loading" className="h-32 w-32" />
</div>
),