From 42dd275b2fba1c1a226c50042e218029bd628834 Mon Sep 17 00:00:00 2001 From: Andreas N Date: Thu, 12 Feb 2015 17:22:40 +0100 Subject: [PATCH] more optimizations to mobile display --- app/assets/stylesheets/scss/navbar.scss | 4 ++++ app/views/layouts/_profile.html.haml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/scss/navbar.scss b/app/assets/stylesheets/scss/navbar.scss index c1fc3462..c7dda8eb 100644 --- a/app/assets/stylesheets/scss/navbar.scss +++ b/app/assets/stylesheets/scss/navbar.scss @@ -119,4 +119,8 @@ .profile--image-dropdown > a { padding-top: 16px !important; padding-bottom: 16px !important; +} + +.navbar--inline-block { + display: inline-block !important; } \ No newline at end of file diff --git a/app/views/layouts/_profile.html.haml b/app/views/layouts/_profile.html.haml index 020eaf6e..f1caee58 100644 --- a/app/views/layouts/_profile.html.haml +++ b/app/views/layouts/_profile.html.haml @@ -2,7 +2,7 @@ %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} %img.img-rounded.answerbox--img.hidden-xs{src: current_user.profile_picture.url(:small)} .visible-xs= current_user.screen_name - %b.caret.visible-xs + %b.caret.visible-xs.navbar--inline-block %ul.dropdown-menu.profile--dropdown %li.hidden-xs .media.profile--dropdown-media