Skip to content

Commit 70a75eb

Browse files
authored
Fix full page oauth width (#13875)
1 parent 239befe commit 70a75eb

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

packages/web/src/pages/oauth-login-page/OAuthLoginPage.module.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
right: 0;
66
bottom: 0;
77
justify-content: center;
8+
align-items: center;
89
display: flex;
910
overflow: scroll;
1011
}
@@ -43,13 +44,14 @@
4344
}
4445

4546
.container {
46-
width: 375px;
47+
width: 100%;
48+
max-width: 375px;
4749
display: flex;
4850
flex-direction: column;
4951
gap: 24px;
5052
padding: 32px 24px;
5153
justify-content: center;
52-
flex: 1;
54+
flex: 0 1 auto;
5355
}
5456

5557
@media (max-width: 375px) {

packages/web/src/pages/oauth-login-page/components/ContentWrapper.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ export const ContentWrapper = ({
2020
<Paper
2121
shadow='mid'
2222
w='375px'
23+
css={{ maxWidth: '100%' }}
2324
direction='column'
24-
mv='3xl'
25-
alignSelf='flex-start'
2625
border='strong'
2726
borderRadius='xl'
2827
>

0 commit comments

Comments
 (0)