Defect #31268 ยป 0001-Fix-gaps-in-resizable-gantt-chart.patch
app/views/gantts/show.html.erb | ||
---|---|---|
137 | 137 |
<%= content_tag(:div, :style => style, :class => "gantt_subjects_container") do %> |
138 | 138 |
<% |
139 | 139 |
style = "" |
140 |
style += "width: #{subject_width}px;" |
|
140 |
style += "width: #{subject_width + 1}px;"
|
|
141 | 141 |
style += "height: #{headers_height}px;" |
142 | 142 |
style += 'background: #eee;' |
143 | 143 |
%> |
144 | 144 |
<%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %> |
145 | 145 |
<% |
146 | 146 |
style = "" |
147 |
style += "z-index: 1;" |
|
147 | 148 |
style += "width: #{subject_width}px;" |
148 | 149 |
style += "height: #{t_height}px;" |
149 | 150 |
style += 'border-left: 1px solid #c0c0c0;' |
public/stylesheets/application.css | ||
---|---|---|
1249 | 1249 |
overflow: hidden; |
1250 | 1250 |
} |
1251 | 1251 | |
1252 |
.gantt_subjects_column + td { |
|
1253 |
padding: 0; |
|
1254 |
} |
|
1255 | ||
1252 | 1256 |
.gantt_hdr.nwday {background-color:#f1f1f1; color:#999;} |
1253 | 1257 | |
1254 |
.gantt_subjects { font-size: 0.8em; } |
|
1258 |
.gantt_subjects { font-size: 0.8em; position: relative; z-index: 1; }
|
|
1255 | 1259 |
.gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; } |
1256 | 1260 |
.gantt_subjects div.issue-subject:hover { background-color:#ffffdd; } |
1257 | 1261 |