From fd6a3e5a179083aa57bf1cb74f4bd235dce3c28e Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Mon, 19 Jan 2026 11:47:14 -0800 Subject: [PATCH] fix default logo size --- src/app/auth/login/device/success/page.tsx | 6 +++--- src/components/DashboardLoginForm.tsx | 4 ++-- src/components/DeviceLoginForm.tsx | 4 ++-- src/components/LoginCardHeader.tsx | 4 ++-- src/components/OrgSelectionForm.tsx | 4 ++-- src/components/SignupForm.tsx | 4 ++-- src/components/private/IdpLoginButtons.tsx | 1 + 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/app/auth/login/device/success/page.tsx b/src/app/auth/login/device/success/page.tsx index 6ee49587..dab60935 100644 --- a/src/app/auth/login/device/success/page.tsx +++ b/src/app/auth/login/device/success/page.tsx @@ -18,8 +18,8 @@ export default function DeviceAuthSuccessPage() { ? env.branding.logo?.authPage?.width || 175 : 175; const logoHeight = isUnlocked() - ? env.branding.logo?.authPage?.height || 58 - : 58; + ? env.branding.logo?.authPage?.height || 44 + : 44; useEffect(() => { // Detect if we're on iOS or Android @@ -82,4 +82,4 @@ export default function DeviceAuthSuccessPage() {

); -} \ No newline at end of file +} diff --git a/src/components/DashboardLoginForm.tsx b/src/components/DashboardLoginForm.tsx index f57eb8b1..8a4c611e 100644 --- a/src/components/DashboardLoginForm.tsx +++ b/src/components/DashboardLoginForm.tsx @@ -57,8 +57,8 @@ export default function DashboardLoginForm({ ? env.branding.logo?.authPage?.width || 175 : 175; const logoHeight = isUnlocked() - ? env.branding.logo?.authPage?.height || 58 - : 58; + ? env.branding.logo?.authPage?.height || 44 + : 44; return ( diff --git a/src/components/DeviceLoginForm.tsx b/src/components/DeviceLoginForm.tsx index 914b43b0..cadeb230 100644 --- a/src/components/DeviceLoginForm.tsx +++ b/src/components/DeviceLoginForm.tsx @@ -195,8 +195,8 @@ export default function DeviceLoginForm({ ? env.branding.logo?.authPage?.width || 175 : 175; const logoHeight = isUnlocked() - ? env.branding.logo?.authPage?.height || 58 - : 58; + ? env.branding.logo?.authPage?.height || 44 + : 44; function onCancel() { setMetadata(null); diff --git a/src/components/LoginCardHeader.tsx b/src/components/LoginCardHeader.tsx index 5087b869..3386ee5d 100644 --- a/src/components/LoginCardHeader.tsx +++ b/src/components/LoginCardHeader.tsx @@ -17,8 +17,8 @@ export default function LoginCardHeader({ subtitle }: LoginCardHeaderProps) { ? env.branding.logo?.authPage?.width || 175 : 175; const logoHeight = isUnlocked() - ? env.branding.logo?.authPage?.height || 58 - : 58; + ? env.branding.logo?.authPage?.height || 44 + : 44; return ( diff --git a/src/components/OrgSelectionForm.tsx b/src/components/OrgSelectionForm.tsx index c625008e..ab58f083 100644 --- a/src/components/OrgSelectionForm.tsx +++ b/src/components/OrgSelectionForm.tsx @@ -42,8 +42,8 @@ export function OrgSelectionForm() { ? env.branding.logo?.authPage?.width || 175 : 175; const logoHeight = isUnlocked() - ? env.branding.logo?.authPage?.height || 58 - : 58; + ? env.branding.logo?.authPage?.height || 44 + : 44; const handleSubmit = (e: FormEvent) => { e.preventDefault(); diff --git a/src/components/SignupForm.tsx b/src/components/SignupForm.tsx index f20856b4..9cb93757 100644 --- a/src/components/SignupForm.tsx +++ b/src/components/SignupForm.tsx @@ -201,8 +201,8 @@ export default function SignupForm({ ? env.branding.logo?.authPage?.width || 175 : 175; const logoHeight = isUnlocked() - ? env.branding.logo?.authPage?.height || 58 - : 58; + ? env.branding.logo?.authPage?.height || 44 + : 44; const showOrgBanner = fromSmartLogin && (build === "saas" || env.flags.useOrgOnlyIdp); const orgBannerHref = redirect diff --git a/src/components/private/IdpLoginButtons.tsx b/src/components/private/IdpLoginButtons.tsx index 7649bfde..50d84981 100644 --- a/src/components/private/IdpLoginButtons.tsx +++ b/src/components/private/IdpLoginButtons.tsx @@ -133,6 +133,7 @@ export default function IdpLoginButtons({ loginWithIdp(idp.idpId); }} disabled={loading} + loading={loading} > {effectiveType === "google" && (