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

Modify profile card UI #294

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
1 change: 0 additions & 1 deletion Origami/src/components/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ Licensed under MIT

/* Profile sidebar */
.profile-sidebar {
padding: 2px 0 3px 0;
background: #fff;
}

Expand Down
6 changes: 2 additions & 4 deletions Origami/src/components/user/user_github_profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class Profile extends Component {
render() {

return (
<div className="container">
<div className="profile-sidebar">
<div>
<div className="profile-userpic">
Expand All @@ -82,7 +81,7 @@ class Profile extends Component {
<div className="profile-usertitle-job">{this.state.username}</div>
</div>

<div className="btn-group" style={{ marginLeft: 30 }}>
<div className="btn-group" style={{ marginLeft: 56 }}>
<a href="#" className="btn btn-primary">
Demo Count
</a>
Expand All @@ -96,7 +95,7 @@ class Profile extends Component {
<li>
<a href="#">
<i className="glyphicon glyphicon-envelope" />
<span style={{ float: 'right' }}>{this.state.email}</span>
{this.state.email}
</a>
</li>
<li>
Expand All @@ -115,7 +114,6 @@ class Profile extends Component {
</div>
</div>
</div>
</div>
);
}
}
Expand Down
4 changes: 3 additions & 1 deletion Origami/src/ui/src/scss/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6441,6 +6441,8 @@ a.text-dark:hover, a.text-dark:focus {
border-width: 1px 2px; }
.aside-menu .tab-content .tab-pane {
padding: 0; }
.aside-menu .tab-content .nav{
flex-direction: column; }

.avatar {
position: relative;
Expand Down Expand Up @@ -8796,7 +8798,7 @@ html[dir="rtl"] .aside-menu {
position: fixed;
height: 100%; }
.aside-menu-fixed .aside-menu .tab-content {
height: calc(100vh - 2.375rem - 55px); }
height: calc(100vh - 2.375rem - 70px); }
.aside-menu-fixed .app-header + .app-body .aside-menu {
height: calc(100vh - 55px); }
.aside-menu-off-canvas .aside-menu {
Expand Down