From 136b4dbba5c986ca4498baaa7c76f86b23177b85 Mon Sep 17 00:00:00 2001 From: Andreas N Date: Thu, 12 Feb 2015 16:57:51 +0100 Subject: [PATCH] =?UTF-8?q?trying=20to=20fix=20this=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/scss/navbar.scss | 6 +++--- app/views/layouts/_profile.html.haml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/scss/navbar.scss b/app/assets/stylesheets/scss/navbar.scss index 98f5b0d1..9566777d 100644 --- a/app/assets/stylesheets/scss/navbar.scss +++ b/app/assets/stylesheets/scss/navbar.scss @@ -116,7 +116,7 @@ margin-top: 2px; } -.profile--image-dropdown .dropdown-toggle { - padding-top: 16px; - padding-bottom: 16px; +.profile--image-dropdown { + padding-top: 16px !important; + padding-bottom: 16px !important; } \ No newline at end of file diff --git a/app/views/layouts/_profile.html.haml b/app/views/layouts/_profile.html.haml index ba986ca0..93e5a9f4 100644 --- a/app/views/layouts/_profile.html.haml +++ b/app/views/layouts/_profile.html.haml @@ -1,5 +1,5 @@ -%li.dropdown.profile--image-dropdown - %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} +%li.dropdown + %a.dropdown-toggle.profile--image-dropdown{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 %b.caret