GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 2a9e1cb8 authored by jplang's avatar jplang

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

Patch by Felix Gliesche.

git-svn-id: https://svn.redmine.org/redmine/trunk@14790 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c3ce3442
......@@ -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}][]",
......
......@@ -264,6 +264,11 @@ table.messages td.last_message {text-align:left;}
#query_form_content {font-size:90%;}
.query_sort_criteria_count {
display: inline-block;
min-width: 1em;
}
table.query-columns {
border-collapse: collapse;
border: 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment