fix default logo size

This commit is contained in:
miloschwartz
2026-01-19 11:47:14 -08:00
parent 14a4b1b4b4
commit fd6a3e5a17
7 changed files with 14 additions and 13 deletions

View File

@@ -18,8 +18,8 @@ export default function DeviceAuthSuccessPage() {
? env.branding.logo?.authPage?.width || 175 ? env.branding.logo?.authPage?.width || 175
: 175; : 175;
const logoHeight = isUnlocked() const logoHeight = isUnlocked()
? env.branding.logo?.authPage?.height || 58 ? env.branding.logo?.authPage?.height || 44
: 58; : 44;
useEffect(() => { useEffect(() => {
// Detect if we're on iOS or Android // Detect if we're on iOS or Android
@@ -82,4 +82,4 @@ export default function DeviceAuthSuccessPage() {
</p> </p>
</> </>
); );
} }

View File

@@ -57,8 +57,8 @@ export default function DashboardLoginForm({
? env.branding.logo?.authPage?.width || 175 ? env.branding.logo?.authPage?.width || 175
: 175; : 175;
const logoHeight = isUnlocked() const logoHeight = isUnlocked()
? env.branding.logo?.authPage?.height || 58 ? env.branding.logo?.authPage?.height || 44
: 58; : 44;
return ( return (
<Card className="w-full max-w-md"> <Card className="w-full max-w-md">

View File

@@ -195,8 +195,8 @@ export default function DeviceLoginForm({
? env.branding.logo?.authPage?.width || 175 ? env.branding.logo?.authPage?.width || 175
: 175; : 175;
const logoHeight = isUnlocked() const logoHeight = isUnlocked()
? env.branding.logo?.authPage?.height || 58 ? env.branding.logo?.authPage?.height || 44
: 58; : 44;
function onCancel() { function onCancel() {
setMetadata(null); setMetadata(null);

View File

@@ -17,8 +17,8 @@ export default function LoginCardHeader({ subtitle }: LoginCardHeaderProps) {
? env.branding.logo?.authPage?.width || 175 ? env.branding.logo?.authPage?.width || 175
: 175; : 175;
const logoHeight = isUnlocked() const logoHeight = isUnlocked()
? env.branding.logo?.authPage?.height || 58 ? env.branding.logo?.authPage?.height || 44
: 58; : 44;
return ( return (
<CardHeader className="border-b"> <CardHeader className="border-b">

View File

@@ -42,8 +42,8 @@ export function OrgSelectionForm() {
? env.branding.logo?.authPage?.width || 175 ? env.branding.logo?.authPage?.width || 175
: 175; : 175;
const logoHeight = isUnlocked() const logoHeight = isUnlocked()
? env.branding.logo?.authPage?.height || 58 ? env.branding.logo?.authPage?.height || 44
: 58; : 44;
const handleSubmit = (e: FormEvent<HTMLFormElement>) => { const handleSubmit = (e: FormEvent<HTMLFormElement>) => {
e.preventDefault(); e.preventDefault();

View File

@@ -201,8 +201,8 @@ export default function SignupForm({
? env.branding.logo?.authPage?.width || 175 ? env.branding.logo?.authPage?.width || 175
: 175; : 175;
const logoHeight = isUnlocked() const logoHeight = isUnlocked()
? env.branding.logo?.authPage?.height || 58 ? env.branding.logo?.authPage?.height || 44
: 58; : 44;
const showOrgBanner = fromSmartLogin && (build === "saas" || env.flags.useOrgOnlyIdp); const showOrgBanner = fromSmartLogin && (build === "saas" || env.flags.useOrgOnlyIdp);
const orgBannerHref = redirect const orgBannerHref = redirect

View File

@@ -133,6 +133,7 @@ export default function IdpLoginButtons({
loginWithIdp(idp.idpId); loginWithIdp(idp.idpId);
}} }}
disabled={loading} disabled={loading}
loading={loading}
> >
{effectiveType === "google" && ( {effectiveType === "google" && (
<Image <Image