##// END OF EJS Templates
Reduce max height of issue description textarea from 100 to 20 (#23840)....
Jean-Philippe Lang -
r15502:0f2026821ccb
parent child
Show More
@@ -29,7 +29,7
29 <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
29 <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
30 <%= f.text_area :description,
30 <%= f.text_area :description,
31 :cols => 60,
31 :cols => 60,
32 :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
32 :rows => [[10, @issue.description.to_s.length / 50].max, 20].min,
33 :accesskey => accesskey(:edit),
33 :accesskey => accesskey(:edit),
34 :class => 'wiki-edit',
34 :class => 'wiki-edit',
35 :no_label => true %>
35 :no_label => true %>
General Comments 0
You need to be logged in to leave comments. Login now