Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(oauth): center the first-party app logo on the consent page (#19746)

Arvin Xu67dae3bf8410
diff --git a/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx b/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx
index 6c947b4f9be..db87a4691c5 100644
--- a/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx
+++ b/src/features/Auth/OAuthConsent/OAuthApplicationLogo.tsx
@@ -37,7 +37,9 @@ interface OAuthApplicationLogoProps {
const OAuthApplicationLogo = memo<OAuthApplicationLogoProps>(
({ isFirstParty, clientDisplayName, logoUrl, size = 72 }) => {
return isFirstParty ? (
- <Avatar alt={clientDisplayName} avatar={logoUrl!} shape={'square'} size={size} />
+ <Center>
+ <Avatar alt={clientDisplayName} avatar={logoUrl!} shape={'square'} size={size} />
+ </Center>
) : (
<Flexbox horizontal align={'center'} gap={8} justify={'center'}>
{logoUrl ? (