Commit f3fa44721dcaf9f87b1907b0607ff6e6098eadb7

Authored by Dmitriy Zaporozhets
1 parent fb36355f

Fix issues update title selectboxes with zero width

app/assets/stylesheets/sections/issues.scss
... ... @@ -94,13 +94,6 @@ input.check_all_issues {
94 94 .update_selected_issues {
95 95 margin-left: 4px;
96 96 }
97   -
98   - .update_issues_text {
99   - padding: 5px;
100   - line-height: 28px;
101   - float: left;
102   - color: #479;
103   - }
104 97 }
105 98 }
106 99  
... ...
app/assets/stylesheets/selects.scss
... ... @@ -60,6 +60,8 @@
60 60  
61 61 /** Fix for Search Dropdown Border **/
62 62 .chosen-container {
  63 + min-width: 100px;
  64 +
63 65 .chosen-search {
64 66 input:focus {
65 67 @include box-shadow(none);
... ...
app/views/projects/issues/_issues.html.haml
... ... @@ -4,13 +4,12 @@
4 4 .clearfix
5 5 .issues_bulk_update.hide
6 6 = form_tag bulk_update_project_issues_path(@project), method: :post do
7   - %span.update_issues_text Update selected issues with  
8   - .left
9   - = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
10   - = select_tag('update[assignee_id]', options_from_collection_for_select(@project.team.members, "id", "name", params[:assignee_id]), prompt: "Assignee")
11   - = select_tag('update[milestone_id]', options_from_collection_for_select(issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
12   - = hidden_field_tag 'update[issues_ids]', []
13   - = hidden_field_tag :status, params[:status]
  7 + %span Update selected issues with  
  8 + = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
  9 + = select_tag('update[assignee_id]', options_from_collection_for_select(@project.team.members, "id", "name", params[:assignee_id]), prompt: "Assignee")
  10 + = select_tag('update[milestone_id]', options_from_collection_for_select(issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
  11 + = hidden_field_tag 'update[issues_ids]', []
  12 + = hidden_field_tag :status, params[:status]
14 13 = button_tag "Save", class: "btn update_selected_issues btn-small btn-save"
15 14 .issues-filters
16 15 %span Filter by
... ...