apply changes to groups page, adjust heading for header

This commit is contained in:
pixeldesu 2017-03-29 15:29:07 -07:00
parent 598fce6f83
commit 8d4d2ffce1
2 changed files with 8 additions and 5 deletions

View File

@ -63,7 +63,7 @@ body {
}
.j2-lh {
color: $main-color;
margin-top: 48px;
}
.about--moderator {
padding-left: 0px;
@ -302,4 +302,4 @@ body {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
}

View File

@ -1,5 +1,8 @@
.profile--header
.container.j2-page
- provide(:title, user_title(@user, "groups"))
- no_header = unless @user.profile_header.exists? then "profile--no-header" else "" end
#profile--header{class: no_header}
%img.profile--header-img{src: @user.profile_header.url(:web)}
.container.j2-page.headerable{class: no_header}
.col-md-3.col-xs-12.col-sm-4
= render 'user/profile_info'
.hidden-xs= render 'shared/links'
@ -16,4 +19,4 @@
.visible-xs= render 'shared/links'
- if user_signed_in?
= render 'user/modal_group_memberships'
= render 'user/modal_group_memberships'