From 89ea02e7af76625a55fd0bea852a94ca77742e33 Mon Sep 17 00:00:00 2001 From: Andreas N Date: Thu, 12 Feb 2015 16:51:04 +0100 Subject: [PATCH] the navbar is kinda broken --- app/assets/stylesheets/scss/navbar.scss | 5 +++++ app/views/layouts/_profile.html.haml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/scss/navbar.scss b/app/assets/stylesheets/scss/navbar.scss index 49d459ad..62dd944a 100644 --- a/app/assets/stylesheets/scss/navbar.scss +++ b/app/assets/stylesheets/scss/navbar.scss @@ -114,4 +114,9 @@ font-size: 1.2em; line-height: 1.33em; margin-top: 2px; +} + +.profile--image-dropdown { + padding-top: 16px; + padding-bottom: 16px; } \ No newline at end of file diff --git a/app/views/layouts/_profile.html.haml b/app/views/layouts/_profile.html.haml index 89504703..ba986ca0 100644 --- a/app/views/layouts/_profile.html.haml +++ b/app/views/layouts/_profile.html.haml @@ -1,4 +1,4 @@ -%li.dropdown +%li.dropdown.profile--image-dropdown %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} %img.img-rounded.answerbox--img.hidden-xs{src: current_user.profile_picture.url(:small)} %span.visible-xs= current_user.screen_name