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..f4f4a8f788 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1331,9 +1331,12 @@ table.gantt-table td { 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 {