Skip to content

Commit da6bb73

Browse files
committed
Fixed responsiveness of Signi page
1 parent 3b97f4b commit da6bb73

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

packages/messenger-widget/src/components/SignIn/SignIn.css

+15-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
background-size: cover;
33
background-repeat: no-repeat;
44
background-position: center;
5+
height: 100%;
56
}
67

78
.content-data-container {
@@ -30,8 +31,8 @@
3031
}
3132

3233
.sign-in-logo {
33-
height: 4rem !important;
34-
width: fit-content !important;
34+
height: auto !important;
35+
width: 100% !important;
3536
fill: var(--text-primary-color) !important;
3637
}
3738

@@ -86,3 +87,15 @@
8687
margin-top: 1rem !important;
8788
}
8889
}
90+
91+
@media only screen and (max-height: 610px) {
92+
.content-data {
93+
margin-top: 1rem !important;
94+
}
95+
}
96+
97+
@media only screen and (max-width: 767px) {
98+
.home-image-container {
99+
height: 0% !important;
100+
}
101+
}

packages/messenger-widget/src/components/SignIn/SignIn.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function SignIn(props: SignInProps) {
4747
props.signInImage ?? signInImage
4848
})`,
4949
}}
50-
className="h-100 col-lg-7 col-md-7 col-sm-12 p-0 home-image-container background-container"
50+
className="col-lg-7 col-md-7 col-sm-0 p-0 home-image-container background-container"
5151
></div>
5252
<div
5353
className="h-100 col-lg-5 col-md-5 col-sm-12 p-0 d-flex flex-column

0 commit comments

Comments
 (0)