Skip to content

Commit

Permalink
Merge pull request #11 from guilhermeorcezi/feat/login-page-responsive
Browse files Browse the repository at this point in the history
feat: responsive login page component
  • Loading branch information
vedpatel7 committed Oct 15, 2023
2 parents 2bc7cf3 + fee814b commit 51460cb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/Login_page/style2.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,24 @@ body {
padding: 0px;
text-align: center;
width: 995px;

@media (max-width: 960px) {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
}

.login_div {
background-color: white;
padding: 20px;
max-width: 300px;
margin-left: 345px;

@media (max-width: 960px) {
margin-left: 0;
}
}

.login_div button {
Expand Down Expand Up @@ -48,4 +59,5 @@ body {
.login_div .forgot {
margin-top: 20px;
float: right;
margin-left: 8px;
}

0 comments on commit 51460cb

Please sign in to comment.