Project

General

Profile

Defect #41714 » 0003-Replaces-legacy-magnifier-icon-with-SVG-icon-in-issue-relation.patch

Takenori TAKAKI, 2024-12-06 04:35

View differences:

app/assets/stylesheets/application.css
587 587
.splitcontentright {flex: 1; margin-left: 5px;}
588 588
.splitcontenttop {flex: 2; flex-basis: 100%;}
589 589

  
590
.splitcontent .quick-search {margin:0px; display: inline-flex; align-items: center;}
591
.splitcontent .quick-search svg {margin-left: 5px; position: absolute;}
592
.splitcontent .quick-search input.autocomplete {background: #fff; padding-left: 24px !important;}
590
.splitcontent .quick-search, .new_relation .quick-search {margin:0px; display: inline-flex; align-items: center;}
591
.splitcontent .quick-search svg, .new_relation .quick-search svg {margin-left: 5px; position: absolute;}
592
.splitcontent .quick-search input.autocomplete, .new_relation .quick-search input.autocomplete {background: #fff; padding-left: 24px !important;}
593 593

  
594 594
form {display: inline;}
595 595
input, select, button {vertical-align: middle; margin-top: 1px; margin-bottom: 1px; height: 24px; padding: 0 7px;}
app/views/issue_relations/_form.html.erb
10 10
  </div>
11 11
<% end %>
12 12
<p><%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %>
13
<%= l(:label_issue) %> #<%= f.text_field :issue_to_id, :value => unsaved_relations_ids, :size => 10 %>
13
<%= l(:label_issue) %> #
14
<%= content_tag 'span', :class => 'quick-search' do %>
15
<%= sprite_icon('search', :icon_only => true) %>
16
<%= f.text_field :issue_to_id, :value => unsaved_relations_ids, :size => 10 %>
17
<% end %>
14 18
<span id="predecessor_fields" style="display:none;">
15 19
<%= l(:field_delay) %>: <%= f.text_field :delay, :size => 3 %> <%= l(:label_day_plural) %>
16 20
</span>
(6-6/6)