Commit f3fa44721dcaf9f87b1907b0607ff6e6098eadb7
1 parent
fb36355f
Exists in
master
and in
4 other branches
Fix issues update title selectboxes with zero width
Showing
3 changed files
with
8 additions
and
14 deletions
Show diff stats
app/assets/stylesheets/sections/issues.scss
| @@ -94,13 +94,6 @@ input.check_all_issues { | @@ -94,13 +94,6 @@ input.check_all_issues { | ||
| 94 | .update_selected_issues { | 94 | .update_selected_issues { |
| 95 | margin-left: 4px; | 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,6 +60,8 @@ | ||
| 60 | 60 | ||
| 61 | /** Fix for Search Dropdown Border **/ | 61 | /** Fix for Search Dropdown Border **/ |
| 62 | .chosen-container { | 62 | .chosen-container { |
| 63 | + min-width: 100px; | ||
| 64 | + | ||
| 63 | .chosen-search { | 65 | .chosen-search { |
| 64 | input:focus { | 66 | input:focus { |
| 65 | @include box-shadow(none); | 67 | @include box-shadow(none); |
app/views/projects/issues/_issues.html.haml
| @@ -4,13 +4,12 @@ | @@ -4,13 +4,12 @@ | ||
| 4 | .clearfix | 4 | .clearfix |
| 5 | .issues_bulk_update.hide | 5 | .issues_bulk_update.hide |
| 6 | = form_tag bulk_update_project_issues_path(@project), method: :post do | 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 | = button_tag "Save", class: "btn update_selected_issues btn-small btn-save" | 13 | = button_tag "Save", class: "btn update_selected_issues btn-small btn-save" |
| 15 | .issues-filters | 14 | .issues-filters |
| 16 | %span Filter by | 15 | %span Filter by |