another try to fix

This commit is contained in:
Andreas N 2015-02-12 17:50:13 +01:00
parent c033f1f4b2
commit f58ec9f2a6
2 changed files with 3 additions and 14 deletions

View File

@ -119,16 +119,4 @@
.profile--image-dropdown > a {
padding-top: 16px !important;
padding-bottom: 16px !important;
}
@media (max-width: $screen-xs-max) {
.profile--image-dropdown > .visible-xs {
display: inline-block !important;
}
}
@media (min-width: $screen-sm-min) {
.profile--image-dropdown > .visible-xs {
display: none !important;
}
}

View File

@ -1,8 +1,9 @@
%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)}
.visible-xs.navbar--inline-block= current_user.screen_name
%b.caret.visible-xs.navbar--inline-block
%span.visible-xs
= current_user.screen_name
%b.caret
%ul.dropdown-menu.profile--dropdown
%li.hidden-xs
.media.profile--dropdown-media