Fix gaps in resizable gantt chart (#31268).

Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@18089 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-04-28 00:18:04 +00:00
parent 904e77e8a0
commit 144aae9351
2 changed files with 6 additions and 1 deletions

View File

@@ -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;'

View 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; }