BigW Consortium Gitlab

Align projects sort checkbox

parent 619321dc
...@@ -100,3 +100,22 @@ ...@@ -100,3 +100,22 @@
font-size: 13px; font-size: 13px;
line-height: 22px; line-height: 22px;
} }
.dropdown-with-checkmark {
li > .legend {
font-size: 13px;
color: $secondary-text;
margin-bottom: 5px;
}
li > a {
padding-left: 20px;
line-height: 28px;
i {
position: absolute;
left: 1px;
line-height: 28px;
}
}
}
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
%span.light %span.light
= projects_sort_options_hash[@sort] = projects_sort_options_hash[@sort]
%b.caret %b.caret
%ul.dropdown-menu.dropdown-menu-align-right %ul.dropdown-menu.dropdown-menu-align-right.dropdown-with-checkmark
%li
.legend Sort by
- projects_sort_options_hash.each do |value, title| - projects_sort_options_hash.each do |value, title|
%li %li
= link_to filter_projects_path(sort: value, archived: archived) do = link_to filter_projects_path(sort: value, archived: archived) do
......
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