diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 0383506cc3..a481a3daed 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -587,9 +587,9 @@ div.square { .splitcontentright {flex: 1; margin-left: 5px;} .splitcontenttop {flex: 2; flex-basis: 100%;} -.splitcontent .quick-search {margin:0px; display: inline-flex; align-items: center;} -.splitcontent .quick-search svg {margin-left: 5px; position: absolute;} -.splitcontent .quick-search input.autocomplete {background: #fff; padding-left: 24px !important;} +.splitcontent .quick-search, .new_relation .quick-search {margin:0px; display: inline-flex; align-items: center;} +.splitcontent .quick-search svg, .new_relation .quick-search svg {margin-left: 5px; position: absolute;} +.splitcontent .quick-search input.autocomplete, .new_relation .quick-search input.autocomplete {background: #fff; padding-left: 24px !important;} form {display: inline;} input, select, button {vertical-align: middle; margin-top: 1px; margin-bottom: 1px; height: 24px; padding: 0 7px;} diff --git a/app/views/issue_relations/_form.html.erb b/app/views/issue_relations/_form.html.erb index 97fe78cc6d..b6e4e36506 100644 --- a/app/views/issue_relations/_form.html.erb +++ b/app/views/issue_relations/_form.html.erb @@ -10,7 +10,11 @@ <% end %>
<%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %> -<%= l(:label_issue) %> #<%= f.text_field :issue_to_id, :value => unsaved_relations_ids, :size => 10 %> +<%= l(:label_issue) %> # +<%= content_tag 'span', :class => 'quick-search' do %> +<%= sprite_icon('search', :icon_only => true) %> +<%= f.text_field :issue_to_id, :value => unsaved_relations_ids, :size => 10 %> +<% end %>