diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 999f8f8162..f9c35ebc94 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -141,12 +141,12 @@ -
+ <% style = "" style += "position:relative;" style += "height: #{t_height + 24}px;" - style += "width: #{subject_width}px;" + style += "width: #{subject_width + 1}px;" %> <%= content_tag(:div, :style => style, :class => "gantt_subjects_container #{'draw_selected_columns' if @query.draw_selected_columns}") do %> <% @@ -159,7 +159,7 @@ <% style = "" style += "z-index: 1;" - style += "width: #{subject_width}px;" + style += "width: #{subject_width + 1}px;" style += "height: #{t_height}px;" style += 'overflow: hidden;' %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 3f17d28c94..a1eb1756ee 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1324,16 +1324,18 @@ table.gantt-table td { top: 50%; width:100%; transform: translateY(-50%); - -webkit- transform: translateY(-50%); + -webkit-transform: translateY(-50%); font-size: 0.8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - } -td.gantt_selected_column, td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { +td.gantt_selected_column { width: 50px; } +td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { + width: 49px; +} .task { position: absolute; diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index 6bec535605..aa5502ee65 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -712,6 +712,7 @@ .gantt_subjects_column .gantt_hdr { width: 100% !important; right: 0 !important; /* [2] */ + border-right: solid 1px #c0c0c0; } #gantt_area {