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: improve oidc mobile layout style (#10026)

Arvin Xu17090f1e8cdc
diff --git a/src/app/[variants]/oauth/consent/[uid]/Login.tsx b/src/app/[variants]/oauth/consent/[uid]/Login.tsx
index 3e2f65f553f..797154dc3e7 100644
--- a/src/app/[variants]/oauth/consent/[uid]/Login.tsx
+++ b/src/app/[variants]/oauth/consent/[uid]/Login.tsx
@@ -21,7 +21,7 @@ interface LoginConfirmProps {
uid: string;
}
-const useStyles = createStyles(({ css, token }) => ({
+const useStyles = createStyles(({ css, token, responsive }) => ({
authButton: css`
width: 100%;
height: 40px;
@@ -35,12 +35,21 @@ const useStyles = createStyles(({ css, token }) => ({
border-radius: 12px;
background: ${token.colorBgContainer};
+
+ ${responsive.mobile} {
+ min-width: auto;
+ }
`,
container: css`
width: 100%;
min-height: 100vh;
color: ${token.colorTextBase};
background-color: ${token.colorBgLayout};
+
+ ${responsive.mobile} {
+ justify-content: flex-start;
+ padding-block-start: 64px;
+ }
`,
title: css`
margin-block-end: ${token.marginLG}px;