summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-02-21 17:10:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-02-21 17:10:15 +0000
commitd78fa206c2ef09d984400a4148a8ee1259968ff1 (patch)
tree2bd380df6c76b7106689379287c2417bab3b063b /lib
parent727ce783c0c3a04282d7e987a6abae89a7116e7b (diff)
downloadredmine-d78fa206c2ef09d984400a4148a8ee1259968ff1.tar.gz
redmine-d78fa206c2ef09d984400a4148a8ee1259968ff1.zip
Extracts gantt subjects styles to css (#7280).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4916 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/helpers/gantt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index bb99b9fc8..fa3c46f46 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -709,7 +709,7 @@ module Redmine
end
def html_subject(params, subject, options={})
- style = "position: absolute;line-height:1.2em;height:16px;top:#{params[:top]}px;left:#{params[:indent]}px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis;"
+ style = "position: absolute;top:#{params[:top]}px;left:#{params[:indent]}px;"
style << "width:#{params[:subject_width] - params[:indent]}px;" if params[:subject_width]
output = view.content_tag 'div', subject, :class => options[:css], :style => style, :title => options[:title]