Skip to content

Commit

Permalink
Add styling to "Update Password" button
Browse files Browse the repository at this point in the history
The "Update Password" button in UserPage.jsx is now given a unique class name and CSS rules associated with it. This change enhances the user interface by adding proper formatting and color schemes, improving the overall design and user experience of the button for readability and functionality.
  • Loading branch information
Sahar-Kavousi committed Apr 7, 2024
1 parent e1480e5 commit 4ef7d1b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/pages/UserPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,19 @@
justify-content: space-around;
}

.user-button-container{
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
align-items: center;
justify-content: center;
gap: 16px;
}
.change-password-btn a{
text-decoration-line: none;
color: aliceblue;
}
.change-password-btn a:hover{
color: aliceblue;
}
2 changes: 1 addition & 1 deletion src/pages/UserPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function userPage() {
<button className="user-button" onClick={handleDeleteClick}>
Delete
</button>
<button className="user-button">
<button className="user-button change-password-btn">
<Link to="/update-password">Update Password</Link>
</button>
</div>
Expand Down

0 comments on commit 4ef7d1b

Please sign in to comment.