Skip to content

Commit

Permalink
Made Slide Login Register Form component responsive (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
712Kunal authored Dec 23, 2024
1 parent 1429e6e commit 799e363
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 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;
Expand All @@ -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,
Expand All @@ -36,6 +54,7 @@
}

.theme-switch__container {
margin-top: -25px;
width: var(--container-width);
height: var(--container-height);
background-color: var(--container-light-bg);
Expand Down Expand Up @@ -219,14 +238,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;
}
Expand Down

0 comments on commit 799e363

Please sign in to comment.