]> source.dussan.org Git - redmine.git/commitdiff
Fix gaps in resizable gantt chart (#31268).
authorGo MAEDA <maeda@farend.jp>
Sun, 28 Apr 2019 00:18:04 +0000 (00:18 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 28 Apr 2019 00:18:04 +0000 (00:18 +0000)
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@18089 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

index a51abdcde436e9222b2a90fed13dc968a7fb1694..216c1006172e27b9b1764f83b698664ef7862f32 100644 (file)
   <%= content_tag(:div, :style => style, :class => "gantt_subjects_container") do %>
     <%
       style  = ""
-      style += "width: #{subject_width}px;"
+      style += "width: #{subject_width + 1}px;"
       style += "height: #{headers_height}px;"
       style += 'background: #eee;'
     %>
     <%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %>
     <%
       style  = ""
+      style += "z-index: 1;"
       style += "width: #{subject_width}px;"
       style += "height: #{t_height}px;"
       style += 'border-left: 1px solid #c0c0c0;'
index 09bcd5b7e7490c619f5a46ad801c38a7b9aeaa03..dbafe14229f3a4b8c4c9ca719df004daa3916051 100644 (file)
@@ -1249,6 +1249,10 @@ div.wiki img {vertical-align:middle; max-width:100%;}
   overflow: hidden;
 }
 
+.gantt_subjects_column + td {
+  padding: 0;
+}
+
 .gantt_hdr.nwday {background-color:#f1f1f1; color:#999;}
 
 .gantt_subjects { font-size: 0.8em; }