Skip to content

Commit

Permalink
Merge pull request #35 from WDI-HK-7/homefeedbranch
Browse files Browse the repository at this point in the history
fix profile page styling and fix profile link bug in issue #34
  • Loading branch information
Fer Martin committed May 27, 2015
2 parents 9a81e23 + 338e074 commit bf2c92f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/assets/stylesheets/profile.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#profile-posts {
font-size: 18px;
width: auto;
height: auto;
}
Expand All @@ -15,6 +14,9 @@
height: 150px;
}

.avatar-container {
border-right: 1px solid black;
}

.user-profile-info {
margin: 0 auto;
Expand Down
4 changes: 2 additions & 2 deletions app/assets/templates/users/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="user-profile-info col-xs-12 col-sm-8 col-sm-offset-2" ng-controller="GetProfileInfoCtrl">
<div class="col-xs-12">
<div class="avatar-container col-xs-4">
<img ng-src="{{ profile.avatar }}" class="img-responsive" id="profile-avatar">
<img ng-src="{{ profile.avatar }}" class="img-responsive img-rounded" id="profile-avatar">
</div>
<div class="profile-name-content col-xs-8">
Name:
Expand All @@ -54,7 +54,7 @@
{{ profile.username }}
<br>
<br>
Description: <br>
Summary: <br>
{{ profile.content }}
<br>
</div>
Expand Down

0 comments on commit bf2c92f

Please sign in to comment.