diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-17 15:25:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-12-17 15:25:07 +0000 |
commit | 620c1e27894801b853c1714acc51025b12d2e724 (patch) | |
tree | d2cbf8b2e18c7991744efdce073dcfe0ad495a9e | |
parent | 8a86b2d2bc8b5bd954739d23b24adb850b94e074 (diff) | |
download | redmine-620c1e27894801b853c1714acc51025b12d2e724.tar.gz redmine-620c1e27894801b853c1714acc51025b12d2e724.zip |
Adds a css class for gantt subjects.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4528 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/gantts/show.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index d0f4f9f29..820366279 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -80,7 +80,9 @@ t_height = g_height + headers_height <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"></div> <div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;overflow:hidden;" class="gantt_hdr"></div> +<div class="gantt_subjects"> <%= @gantt.subjects %> +</div> </div> </td> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 797c0e22d..ce9b346f6 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -779,6 +779,8 @@ background-image:url('../images/close_hl.png'); overflow: hidden; } +.gantt_subjects { font-size: 0.8em; } + .task { position: absolute; height:8px; |