mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-03 22:29:39 +00:00
Reduce max height of issue description textarea from 100 to 20 (#23840).
git-svn-id: http://svn.redmine.org/redmine/trunk@15884 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ddf249d7b0
commit
0f2026821c
@ -29,7 +29,7 @@
|
||||
<%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
|
||||
<%= f.text_area :description,
|
||||
:cols => 60,
|
||||
:rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
|
||||
:rows => [[10, @issue.description.to_s.length / 50].max, 20].min,
|
||||
:accesskey => accesskey(:edit),
|
||||
:class => 'wiki-edit',
|
||||
:no_label => true %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user