Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

665 bugs #671

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions packages/messenger-demo/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,16 @@ code {
}

.demo-container {
overflow: clip;
width: calc(100vw - 40px);
height: calc(100vh - 30px);
border-radius: 15px;
position: relative;
top: 10px;
width: calc(100% - 40px);
height: calc(100% - 70px - 40px);
background-color: #000000;
border: 1px solid #222222;
border-radius: 25px;
position: absolute;
top: 75px;
left: 20px;
transform: translate(0, 0);
z-index: 10;
box-shadow: 6px 6px 20px 0 rgba(05, 010, 020, 1);
overflow: hidden;
}
10 changes: 8 additions & 2 deletions packages/messenger-widget/src/components/SignIn/SignIn.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.content-data-container {
padding: 3rem 8.25rem 3rem 8.25rem;
padding: 1rem 8.25rem 1rem 8.25rem;
}

.details {
Expand Down Expand Up @@ -48,7 +48,7 @@
}

.rainbow-connect-btn {
padding: 1rem 2rem 1rem 1rem;
padding: 1rem 1rem 0rem 1rem;
}

.wal-not-connected {
Expand Down Expand Up @@ -76,3 +76,9 @@
margin-top: 6rem !important;
}
}

@media only screen and (max-width: 1000px) {
.content-data {
margin-top: 1rem !important;
}
}
27 changes: 14 additions & 13 deletions packages/messenger-widget/src/components/SignIn/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,23 +252,24 @@ export function SignIn(props: SignInProps) {
return (
<>
<div className="row m-0 p-0 h-100">
<div className="col-lg-7 col-md-7 col-sm-12 p-0 home-image-container background-container">
<img src={homeImage} className="img-fluid home-image" />
<div className="h-100 col-lg-7 col-md-7 col-sm-12 p-0 home-image-container background-container">
<img
src={homeImage}
className="img-fluid home-image w-100"
/>
</div>
<div
className="col-lg-5 col-md-5 col-sm-12 p-0 d-flex flex-column
className="h-100 col-lg-5 col-md-5 col-sm-12 p-0 d-flex flex-column
justify-content-center signin-container background-container"
>
<div className="row">
<div className="d-flex justify-content-end rainbow-connect-btn">
{accountConnected && accountConnected.address ? (
<ConnectButton showBalance={false} />
) : (
<div className="normal-btn wal-not-connected">
Wallet not connected
</div>
)}
</div>
<div className="d-flex justify-content-end rainbow-connect-btn">
{accountConnected && accountConnected.address ? (
<ConnectButton showBalance={false} />
) : (
<div className="normal-btn wal-not-connected">
Wallet not connected
</div>
)}
</div>
<div className="d-flex flex-column justify-content-center height-fill content-data-container">
<div className="d-flex flex-column justify-content-center">
Expand Down
Loading