diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index a51abdcde..216c10061 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -137,13 +137,14 @@
<%= 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;'
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 09bcd5b7e..dbafe1422 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -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; }