OSDN Git Service

Adds a css class for gantt subjects.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 17 Dec 2010 15:25:07 +0000 (15:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 17 Dec 2010 15:25:07 +0000 (15:25 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4528 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/gantts/show.html.erb
public/stylesheets/application.css

index d0f4f9f..8203662 100644 (file)
@@ -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>
index 797c0e2..ce9b346 100644 (file)
@@ -779,6 +779,8 @@ background-image:url('../images/close_hl.png');
   overflow: hidden;
 }
 
+.gantt_subjects { font-size: 0.8em; }
+
 .task {
   position: absolute;
   height:8px;