@@ -18,6 +18,7 @@ const StyledBrandingColumn = styled(Col)`
18
18
display: flex;
19
19
flex-direction: column;
20
20
justify-content: center;
21
+ width: 100%;
21
22
` ;
22
23
23
24
const StyledBrandingText = styled ( Typography . Title ) `
@@ -27,6 +28,18 @@ const StyledBrandingText = styled(Typography.Title)`
27
28
background: #0000001f;
28
29
border-radius: 18px;
29
30
text-align: center;
31
+
32
+ @media screen and (max-width: 640px) {
33
+ font-size: 34px !important;
34
+ }
35
+ ` ;
36
+
37
+ const StyledRightColumn = styled ( Col ) `
38
+ padding: 28px 36px;
39
+ display: flex;
40
+ flex-direction: column;
41
+ justify-content: center;
42
+ width: 100%;
30
43
` ;
31
44
32
45
const AuthCardContainer = styled . div < { $isEE ?: boolean } > `
@@ -42,6 +55,7 @@ const AuthCard = styled.div<{$isEE?: boolean}>`
42
55
display: flex;
43
56
flex-direction: column;
44
57
width: ${ props => props . $isEE ? '850px' : '480px' } ;
58
+ max-width: 90%;
45
59
background: #ffffff;
46
60
box-shadow: 0 0 20px 20px rgba(246, 248, 250, 0.85);
47
61
border-radius: 16px;
@@ -51,7 +65,7 @@ const AuthCard = styled.div<{$isEE?: boolean}>`
51
65
@media screen and (max-width: 640px) {
52
66
margin: 32px 18px 18px 18px;
53
67
width: calc(100vw - 36px);
54
- padding: 32px 24px;
68
+ padding: ${ props => props . $isEE ? '0px' : ' 32px 24px' } ;
55
69
}
56
70
` ;
57
71
@@ -67,7 +81,7 @@ const AuthCardHeading = styled.div<{ $type?: string, $isEE?: boolean }>`
67
81
margin-top: ${ props => props . $isEE ? '0' : '107px' } ;
68
82
}
69
83
@media screen and (max-height: 700px) {
70
- margin-top: 47px;
84
+ margin-top: ${ props => props . $isEE ? '0' : ' 47px' } ;
71
85
}
72
86
@media screen and (max-width: 640px) {
73
87
font-size: 23px;
@@ -169,24 +183,14 @@ const BrandingWrapper = (props: {
169
183
}
170
184
return (
171
185
< Row style = { { minHeight : '500px' } } >
172
- < StyledBrandingColumn span = { 12 } style = { {
173
- backgroundColor : '#eaeaea' ,
174
- backgroundImage : 'url(https://images.unsplash.com/photo-1589810264340-0ce27bfbf751?q=80&w=3387&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D)' ,
175
- backgroundSize : 'cover' ,
176
- backgroundRepeat : 'no-repeat' ,
177
- } } >
186
+ < StyledBrandingColumn md = { 12 } sm = { 24 } >
178
187
< StyledBrandingText >
179
188
Join us today to explore new opportunities!
180
189
</ StyledBrandingText >
181
190
</ StyledBrandingColumn >
182
- < Col span = { 12 } style = { {
183
- padding : '28px 36px' ,
184
- display : 'flex' ,
185
- flexDirection : 'column' ,
186
- justifyContent : 'center' ,
187
- } } >
191
+ < StyledRightColumn md = { 12 } sm = { 24 } >
188
192
{ props . children }
189
- </ Col >
193
+ </ StyledRightColumn >
190
194
</ Row >
191
195
)
192
196
}
@@ -223,7 +227,7 @@ export const AuthContainer = (props: {
223
227
{ props . children }
224
228
</ BrandingWrapper >
225
229
</ AuthCard >
226
- { props . subHeading && (
230
+ { props . subHeading && ! props . isEE && (
227
231
< AuthCardSubFooter >
228
232
< img src = { favicon } alt = { "Lowcoder | " + trans ( "productDesc" ) } width = "20px" />
229
233
< a href = "https://lowcoder.cloud" target = "_blank" rel = "noreferrer" >
0 commit comments