Skip to content

Commit

Permalink
Merge pull request #660 from ShudarsanRegmi/profile-responsive
Browse files Browse the repository at this point in the history
Responsiveness was enhanced for the profile page
  • Loading branch information
YadavAkhileshh authored Nov 4, 2024
2 parents 0da5036 + 8f7e97d commit 91934ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ <h3 class="profile-name">Skylar Reed</h3>
<p class="profile-bio">Joined: October 31, 2024</p>
<p class="profile-bio">About Me: Hello!🙋🏻‍♂️ my current Goals is Unlock all Achievements. 😎</p>
<p id="last-active">Last active: 31/10/2024, 11:12 PM</p>
<button class="edit-profile-btn edit_profiled">Edit Profile</button>


</div>

</div>
<button class="edit-profile-btn edit_profiled">Edit Profile</button>
</a>
</div>
</div>
Expand Down
9 changes: 5 additions & 4 deletions testp.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ body {
cursor: pointer;
border-radius: 5px;
transition: background 0.3s, transform 0.3s;
position: relative;
right: 40%;
left: 290px;

}

Expand Down Expand Up @@ -231,6 +228,10 @@ body {

}

.profile-header {
flex-direction: column;
}

.profile-card {

margin: 10px 0; /* Reduce margin for smaller screens */
Expand All @@ -245,7 +246,7 @@ body {

.edit-profile-btn, .view-order-btn {

width: 100%; /* Full width buttons */
/* width: 100%; Full width buttons */
padding: 12px; /* Increase padding for easier tapping */

}
Expand Down

0 comments on commit 91934ae

Please sign in to comment.