Fix issues update title selectboxes with zero width

This commit is contained in:
Dmitriy Zaporozhets 2013-08-10 19:30:27 +03:00
parent fb36355f2f
commit f3fa44721d
3 changed files with 8 additions and 14 deletions

View file

@ -94,13 +94,6 @@ input.check_all_issues {
.update_selected_issues {
margin-left: 4px;
}
.update_issues_text {
padding: 5px;
line-height: 28px;
float: left;
color: #479;
}
}
}

View file

@ -60,6 +60,8 @@
/** Fix for Search Dropdown Border **/
.chosen-container {
min-width: 100px;
.chosen-search {
input:focus {
@include box-shadow(none);

View file

@ -4,13 +4,12 @@
.clearfix
.issues_bulk_update.hide
= form_tag bulk_update_project_issues_path(@project), method: :post do
%span.update_issues_text Update selected issues with  
.left
= select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
= select_tag('update[assignee_id]', options_from_collection_for_select(@project.team.members, "id", "name", params[:assignee_id]), prompt: "Assignee")
= select_tag('update[milestone_id]', options_from_collection_for_select(issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
= hidden_field_tag 'update[issues_ids]', []
= hidden_field_tag :status, params[:status]
%span Update selected issues with  
= select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
= select_tag('update[assignee_id]', options_from_collection_for_select(@project.team.members, "id", "name", params[:assignee_id]), prompt: "Assignee")
= select_tag('update[milestone_id]', options_from_collection_for_select(issues_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
= hidden_field_tag 'update[issues_ids]', []
= hidden_field_tag :status, params[:status]
= button_tag "Save", class: "btn update_selected_issues btn-small btn-save"
.issues-filters
%span Filter by