another try to fix
This commit is contained in:
parent
c033f1f4b2
commit
f58ec9f2a6
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue