Commit 94d88748 authored by Fatih Acet's avatar Fatih Acet

Tweak issuable dropdowns to open above the dropdown.

parent 20408363
......@@ -419,3 +419,31 @@
}
}
}
.issue-form {
.dropdown-menu-labels {
top: -391px;
&.is-loading {
top: -166px;
}
}
.dropdown-menu-milestone {
top: -310px;
&.is-loading {
top: -166px;
}
}
.dropdown-menu-assignee {
top: -315px;
&.is-loading {
top: -101px;
}
}
}
......@@ -3,7 +3,7 @@
- selected_text = selected.try(:title)
- if selected.present?
= hidden_field_tag(name, name == :milestone_title ? selected.title : selected.id)
= dropdown_tag(milestone_dropdown_label(selected_text), options: { title: "Filter by milestone", toggle_class: "js-milestone-select js-filter-submit #{extra_class}", filter: true, dropdown_class: "dropdown-menu-selectable",
= dropdown_tag(milestone_dropdown_label(selected_text), options: { title: "Filter by milestone", toggle_class: "js-milestone-select js-filter-submit #{extra_class}", filter: true, dropdown_class: "dropdown-menu-selectable dropdown-menu-milestone",
placeholder: "Search milestones", footer_content: project.present?, data: { show_no: true, show_any: show_any, show_upcoming: show_upcoming, field_name: name, selected: selected.try(:title), project_id: project.try(:id), milestones: milestones_filter_dropdown_path, default_label: "Milestone" } }) do
- if project
%ul.dropdown-footer-list
......
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