From f3fa44721dcaf9f87b1907b0607ff6e6098eadb7 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 10 Aug 2013 19:30:27 +0300 Subject: [PATCH] Fix issues update title selectboxes with zero width --- app/assets/stylesheets/sections/issues.scss | 7 ------- app/assets/stylesheets/selects.scss | 2 ++ app/views/projects/issues/_issues.html.haml | 13 ++++++------- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/app/assets/stylesheets/sections/issues.scss b/app/assets/stylesheets/sections/issues.scss index 5b79b30b5c2..48a1682ae76 100644 --- a/app/assets/stylesheets/sections/issues.scss +++ b/app/assets/stylesheets/sections/issues.scss @@ -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; - } } } diff --git a/app/assets/stylesheets/selects.scss b/app/assets/stylesheets/selects.scss index 62740fdcbfb..09ae57b6692 100644 --- a/app/assets/stylesheets/selects.scss +++ b/app/assets/stylesheets/selects.scss @@ -60,6 +60,8 @@ /** Fix for Search Dropdown Border **/ .chosen-container { + min-width: 100px; + .chosen-search { input:focus { @include box-shadow(none); diff --git a/app/views/projects/issues/_issues.html.haml b/app/views/projects/issues/_issues.html.haml index 5923d11a913..231574be72c 100644 --- a/app/views/projects/issues/_issues.html.haml +++ b/app/views/projects/issues/_issues.html.haml @@ -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