summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-04-28 00:18:04 +0000
committerGo MAEDA <maeda@farend.jp>2019-04-28 00:18:04 +0000
commit144aae9351c0f832f578b4755b39d259880086a9 (patch)
treeac788c857cbdb87cc359fe482dfaa52d4fe16227
parent904e77e8a0f36ae2730b4c3c5b722de7d6d4c019 (diff)
downloadredmine-144aae9351c0f832f578b4755b39d259880086a9.tar.gz
redmine-144aae9351c0f832f578b4755b39d259880086a9.zip
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
-rw-r--r--app/views/gantts/show.html.erb3
-rw-r--r--public/stylesheets/application.css4
2 files changed, 6 insertions, 1 deletions
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; }