mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
fix default logo size
This commit is contained in:
@@ -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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user