BigW Consortium Gitlab

Commit b0ec6150 by Hannes Rosenögger

Fixes the sort dropdown goind outside of the screen

see gitlab-org/gitlab-ce#986
parent ada6c608
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment