Skip to content

Commit

Permalink
fix:stake-page-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ONEONUORA committed Dec 17, 2024
1 parent 78d8a63 commit 14da194
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 24 deletions.
9 changes: 7 additions & 2 deletions frontend/src/pages/vault/stake/Stake.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Stake() {
/>
</div>
</div>
<div className=''>
<div className='form'>
<h1 className="stake-title">Please submit your leverage details</h1>
<div className="main-card">
<div onClick={() => setShowDrop(!showDrop)} className={showDrop ? "clicked-network-selector-container" : "network-selector-container"}>
Expand Down Expand Up @@ -117,9 +117,14 @@ function Stake() {
</div>

</div>
<Button variant="secondary" size="lg" className="stake-button">
<div className='can-stk'>
<button className='cancel'> Cancel</button>
<Button variant="secondary" size="lg" className="stake-button">
Stake
</Button>

</div>

</div>
</div>
</VaultLayout>
Expand Down
58 changes: 36 additions & 22 deletions frontend/src/pages/vault/stake/stake.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@
background-color: hsla(261, 49%, 15%, 1);
}


/* .top-cards {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
align-items: stretch;
} */








.network-selector-container {
position: relative;
width: 100%;
Expand Down Expand Up @@ -170,7 +154,7 @@
}

.main-container {
width: 390px;
width: 100%;
/* gap: 24px;
padding-top: 37px;
border-radius: 20px;
Expand All @@ -180,6 +164,7 @@
justify-content: center;
flex-direction: column;
align-items: center; */
padding: 0;
}

.stake-card {
Expand All @@ -192,9 +177,10 @@
font-weight: 600;
font-size: 16px;
display: flex;
/* flex-direction: column;
justify-content: center; */
justify-content: center;
gap: 16px;
/* flex-direction: column;
/* align-items: center; */
}

Expand Down Expand Up @@ -228,19 +214,44 @@
display: block;
margin: 0 auto;
text-align: center;
padding: 1rem 0rem;
padding: 1.5rem 0rem;
}

.can-stk{
display: flex;
gap: 8px;
align-items: center;
justify-content: center;
margin-top: 2rem;
}

.cancel {
width: 167px;
height: 60px;
padding: 16px 24px;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
border-color: #36294E;
background-color: transparent;
color: white;
}

.stake-button {
width: 167px;
height: 60px;
padding: 16px 24px;
border-radius: 8px;
font-weight: 600;
font-size: 14px;
margin: 0 auto;
display: block;
}
.form{
margin-bottom: 2rem;
width: 342px;
display: block;
margin: 0 auto;

}

}

Expand Down Expand Up @@ -302,6 +313,9 @@
font-size: 14px;
margin-top: 2rem;
}
.cancel{
display: none;
}

}

Expand Down

0 comments on commit 14da194

Please sign in to comment.