Merge branch 'fix_sort_dropdown_style' into 'master'

Fix sort dropdown partially not showing on screen.

This MR fixes the sort dropdown menu partially not showing on the screen.
Closes gitlab-org/gitlab-ce#986

Screenshot of the Problem:
![Problem](https://gitlab.com/uploads/gitlab-org/gitlab-ce/8d442e872c/Screenshot_from_2015-01-17_15_18_41.png)

@dzaporozhets Can you take a look at this?

See merge request !299
This commit is contained in:
Dmitriy Zaporozhets 2015-01-18 18:47:06 +00:00
commit 0c26f871e3
2 changed files with 6 additions and 1 deletions

View file

@ -54,6 +54,11 @@ pre {
text-shadow: none;
}
.dropdown-menu-align-right {
left: auto;
right: 0px;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
background: $bg_primary;

View file

@ -6,7 +6,7 @@
- else
Newest
%b.caret
%ul.dropdown-menu
%ul.dropdown-menu.dropdown-menu-align-right
%li
= link_to page_filter_path(sort: 'newest') do
= sort_title_recently_created