]> source.dussan.org Git - redmine.git/commitdiff
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 d0f4f9f294476791cb1d90ad2d2cc301cb6fcc97..82036627915ab73609687bb0b258763356dfa6e3 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 797c0e22d73bc74272c98f1b7909006ab938f407..ce9b346f6fb009e1275848d7518d0fc4258b9ad1 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;