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

Revert "CSS to User Profile to make it more presentable" #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 1 addition & 8 deletions front-end/src/all.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ div {
}

.menu-bars {
margin-right: 2rem;
margin-left: 2rem;
font-size: 2rem;
background: none;
}
Expand Down Expand Up @@ -334,13 +334,6 @@ span {
text-align: center;
}

.boxify2 {
padding: 1.5em;
margin: 1em 0em;
border-radius: 2em;
background-color: rgb(231, 229, 229);
}



/*----------Toggle dark/light STYLINGS----------*/
Expand Down
10 changes: 4 additions & 6 deletions front-end/src/screen/UserProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ let UserProfile = (props) =>{
})}
*/
return(
<div className="divcenter boxify2">
<div className="divcenter">
<img className="imgcenter" src={`${config.backend_base_url}/static/user_profile.jpg`} width="200" height="200" alt="Profile" />
<h2>John Doe</h2>
<h3>Username/Email:</h3><p>qwert1234</p>
<h3>Phone Number: </h3>
<p>+1 (272) 272 2772</p>
<h3>Address: </h3>
<p>214 Joshington Pl, New York, NY 10001</p>
<p>Username/Email: qwert1234</p>
<p>Phone Number: +1 (272) 272 2772</p>
<p>Address: 214 Joshington Pl, New York, NY 10001</p>
</div>
);
}
Expand Down