Project

General

Profile

Actions

Defect #43014

closed

Content in selected columns overflows to the right in Gantt chart

Added by Mizuki ISHIKAWA about 9 hours ago. Updated about 3 hours ago.

Status:
Closed
Priority:
Normal
Category:
Gantt
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When additional selected columns are displayed in the Gantt chart, the content inside the columns slightly overflows to the right, rather than the columns themselves.
This only happens when selected columns are added, not with default columns.

The following change appears to resolve the issue:

diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 378292f75..e994c12af 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1793,7 +1793,7 @@ table.gantt-table td {
   width: 100%;
 }
 .gantt_subjects div.issue-subject:hover { background-color:#ffffdd; }
-.gantt_selected_column_content { padding-left: 3px; padding-right: 3px;}
+.gantt_selected_column_content > div { padding-left: 3px; box-sizing: border-box; }
 .gantt_subjects .issue-subject img.icon-gravatar {
   margin: 2px 5px 0px 2px;
 }


Using box-sizing: border-box; ensures that the padding does not cause the content to overflow beyond the column width.

Before change After change

Files

Actions #1

Updated by Marius BĂLTEANU about 3 hours ago

  • Status changed from New to Closed
  • Assignee set to Marius BĂLTEANU
  • Target version set to 6.0.7
  • Resolution set to Fixed

Thanks, committed and merged to 6.0-stable.

Actions

Also available in: Atom PDF