Project

General

Profile

Patch #21119 » 0001-Give-numbers-in-query-sort-criteria-consistent-width.patch

Felix Gliesche, 2015-10-31 15:29

View differences:

app/views/queries/_form.html.erb
54 54
<% unless params[:gantt] %>
55 55
<fieldset><legend><%= l(:label_sort) %></legend>
56 56
<% 3.times do |i| %>
57
<%= i+1 %>: 
57
<%= content_tag(:span, "#{i+1}:", :class => 'query_sort_criteria_count')%>
58 58
<%= label_tag "query_sort_criteria_attribute_" + i.to_s,
59 59
              l(:description_query_sort_criteria_attribute), :class => "hidden-for-sighted" %>
60 60
<%= select_tag("query[sort_criteria][#{i}][]",
public/stylesheets/application.css
264 264

  
265 265
#query_form_content {font-size:90%;}
266 266

  
267
.query_sort_criteria_count {
268
  display: inline-block;
269
  min-width: 1em;
270
}
271

  
267 272
table.query-columns {
268 273
  border-collapse: collapse;
269 274
  border: 0;
(1-1/2)