more optimizations to mobile display

This commit is contained in:
Andreas N 2015-02-12 17:22:40 +01:00
parent f46ebe5a30
commit 42dd275b2f
2 changed files with 5 additions and 1 deletions

View file

@ -119,4 +119,8 @@
.profile--image-dropdown > a { .profile--image-dropdown > a {
padding-top: 16px !important; padding-top: 16px !important;
padding-bottom: 16px !important; padding-bottom: 16px !important;
}
.navbar--inline-block {
display: inline-block !important;
} }

View file

@ -2,7 +2,7 @@
%a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}
%img.img-rounded.answerbox--img.hidden-xs{src: current_user.profile_picture.url(:small)} %img.img-rounded.answerbox--img.hidden-xs{src: current_user.profile_picture.url(:small)}
.visible-xs= current_user.screen_name .visible-xs= current_user.screen_name
%b.caret.visible-xs %b.caret.visible-xs.navbar--inline-block
%ul.dropdown-menu.profile--dropdown %ul.dropdown-menu.profile--dropdown
%li.hidden-xs %li.hidden-xs
.media.profile--dropdown-media .media.profile--dropdown-media