From 598fce6f83e03ebb57554cbb52655cf073927340 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Wed, 29 Mar 2017 15:20:37 -0700 Subject: [PATCH] add header classes to profile pages --- app/views/user/questions.html.haml | 2 +- app/views/user/show_follow.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/user/questions.html.haml b/app/views/user/questions.html.haml index 488811ab..628118ae 100644 --- a/app/views/user/questions.html.haml +++ b/app/views/user/questions.html.haml @@ -2,7 +2,7 @@ - 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 +.container.j2-page.headerable{class: no_header} .col-md-3.col-xs-12.col-sm-4.j2-col-reset = render 'user/profile_info' .hidden-xs= render 'shared/links' diff --git a/app/views/user/show_follow.html.haml b/app/views/user/show_follow.html.haml index 9406272a..df39ac26 100644 --- a/app/views/user/show_follow.html.haml +++ b/app/views/user/show_follow.html.haml @@ -2,7 +2,7 @@ - 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 +.container.j2-page.headerable{class: no_header} .col-md-3.col-xs-12.col-sm-4.j2-col-reset = render 'user/profile_info' .hidden-xs= render 'shared/links'