Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: secret sharing loader page styling
Scott Wilson088c96164809
diff --git a/frontend/src/components/v3/generic/PageLoader/PageLoader.tsx b/frontend/src/components/v3/generic/PageLoader/PageLoader.tsxindex 2f4dcea2ef..45c477c1bc 100644--- a/frontend/src/components/v3/generic/PageLoader/PageLoader.tsx+++ b/frontend/src/components/v3/generic/PageLoader/PageLoader.tsx@@ -1,9 +1,15 @@+import { twMerge } from "tailwind-merge";+import { Lottie } from "@app/components/v2";-export function PageLoader() {+type PageLoaderProps = {+ lottieClassName?: string;+};++export function PageLoader({ lottieClassName }: PageLoaderProps) {return (<div className="flex h-full w-full items-center justify-center">- <Lottie icon="infisical_loading" isAutoPlay className="w-24" />+ <Lottie icon="infisical_loading" isAutoPlay className={twMerge("w-24", lottieClassName)} /></div>);}diff --git a/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsx b/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsxindex 0d65a07152..110a0603a1 100644--- a/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsx+++ b/frontend/src/pages/public/ViewSharedSecretByIDPage/ViewSharedSecretByIDPage.tsx@@ -1,5 +1,6 @@import { useEffect, useMemo, useRef } from "react";import { Helmet } from "react-helmet";+import { DiVim } from "react-icons/di";import { useNavigate, useParams } from "@tanstack/react-router";import { AxiosError } from "axios";import { addSeconds, formatISO } from "date-fns";@@ -204,7 +205,11 @@ export const ViewSharedSecretByIDPage = () => {}, [faviconUrl]);if (isLoading || isLoadingBrandingConfig) {- return <PageLoader />;+ return (+ <div className="h-screen w-screen bg-bunker-800">+ <PageLoader lottieClassName="w-34" />;+ </div>+ );}const secretContent = (