Skip to content

Commit 4967738

Browse files
author
FalkWolsky
committed
Small Design adaption for Login Screen
1 parent 1d35748 commit 4967738

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

client/packages/lowcoder/src/pages/userAuth/authComponents.tsx

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ const StyledBrandingColumn = styled(Col)<{$bgImage?: string | null}>`
2525
`;
2626

2727
const StyledBrandingText = styled(Typography.Title)`
28-
font-size: 46px !important;
29-
color: white !important;
28+
font-size: 24px !important;
29+
color: black !important;
3030
padding: 20px;
31-
background: #0000001f;
32-
border-radius: 18px;
31+
background-color: rgb(234, 234, 234);
32+
border-radius: 10px;
33+
3334
text-align: center;
3435
3536
@media screen and (max-width: 640px) {
@@ -196,16 +197,21 @@ const BrandingWrapper = (props: {
196197
}
197198

198199
return (
199-
<Row style={{minHeight: '500px'}}>
200-
<StyledBrandingColumn md={12} sm={24} $bgImage={brandingImage}>
201-
<StyledBrandingText>
202-
{brandingText}
203-
</StyledBrandingText>
204-
</StyledBrandingColumn>
205-
<StyledRightColumn md={12} sm={24}>
206-
{props.children}
207-
</StyledRightColumn>
208-
</Row>
200+
<>
201+
202+
<Row style={{ minHeight: '500px' }}>
203+
<StyledBrandingColumn md={12} sm={24} $bgImage={brandingImage}>
204+
{brandingText && (
205+
<StyledBrandingText>
206+
{brandingText}
207+
</StyledBrandingText>
208+
)}
209+
</StyledBrandingColumn>
210+
<StyledRightColumn md={12} sm={24}>
211+
{props.children}
212+
</StyledRightColumn>
213+
</Row>
214+
</>
209215
)
210216
}
211217

0 commit comments

Comments
 (0)