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

Made Slide Login Register Form component responsive #1425

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Changes from 1 commit
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
Next Next commit
made the side register form fully responsive
712Kunal committed Dec 23, 2024
commit 1ff9370392a3afdf01d33dfcb732c1c33381e5eb
27 changes: 22 additions & 5 deletions Components/Forms/Slide-Login-Register-Form/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body{
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.theme-switch {
--toggle-size: 15px;
--container-width: 5.625em;
@@ -18,6 +33,9 @@
--circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
display: flex;
justify-content: right;
position: absolute !important;
right: 0px;
top: 0px;
}

.theme-switch,
@@ -219,14 +237,13 @@
}

.main {
position: relative;
left: 600px;
max-height: 470px;
width: 350px;
overflow: hidden;
border: 2px solid blue;
display: flex;
flex-direction: column;
background-color: #240046;
max-height: 500px;
max-width: 350px;
overflow: hidden;
border-radius: 12px;
box-shadow: 7px 7px 10px 3px #24004628;
}