From ca41890adab76e4fd51a379bf32be6784c199dd4 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Sun, 28 Jun 2015 01:36:58 +0200 Subject: [PATCH] replaced big avatar image on main timeline page --- app/views/shared/_sidebar.html.haml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/app/views/shared/_sidebar.html.haml b/app/views/shared/_sidebar.html.haml index b8375a6a..c9c49b44 100644 --- a/app/views/shared/_sidebar.html.haml +++ b/app/views/shared/_sidebar.html.haml @@ -1,14 +1,17 @@ .panel.panel-default.hidden-xs - %img.profile--avatar{src: current_user.profile_picture.url(:large)} .panel-body - - if current_user.display_name.blank? - .profile--displayname - = current_user.screen_name - - else - .profile--displayname - = current_user.display_name - .profile--username - = current_user.screen_name + .media + .pull-left + %img.answerbox--img{src: current_user.profile_picture.url(:small)} + .media-body + - if current_user.display_name.blank? + .profile--displayname + = current_user.screen_name + - else + .profile--displayname + = current_user.display_name + .profile--username + = current_user.screen_name .row %a{href: show_user_followers_path(current_user.screen_name)} .col-md-6.col-sm-6.col-xs-6