Give numbers in query sort criteria consistent width for non-monospaced fonts (#21119).

Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14790 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-11-01 09:06:58 +00:00
parent 0df7fa714b
commit 90259f4f73
2 changed files with 6 additions and 1 deletions

View File

@@ -54,7 +54,7 @@
<% unless params[:gantt] %>
<fieldset><legend><%= l(:label_sort) %></legend>
<% 3.times do |i| %>
<%= i+1 %>:
<%= content_tag(:span, "#{i+1}:", :class => 'query_sort_criteria_count')%>
<%= label_tag "query_sort_criteria_attribute_" + i.to_s,
l(:description_query_sort_criteria_attribute), :class => "hidden-for-sighted" %>
<%= select_tag("query[sort_criteria][#{i}][]",