Project

General

Profile

Actions

Defect #43378

open

Column headers are slightly shifted to the right in tables in list views

Added by Nicholas N 3 days ago. Updated about 21 hours ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

In Redmine 6.0.7, it seems like column headings on issue list pages are mis-aligned ever so slightly.

This is most prevalent with the "Due date" & "Assignee" fields, but appears to be impacting every column.

Please see the screenshot below:

Screenshot showing column header alignment


Files

redmine_misaligned.png (17 KB) redmine_misaligned.png Screenshot showing column header alignment Nicholas N, 2025-10-21 17:46
before@2x.png (70.5 KB) before@2x.png Go MAEDA, 2025-10-22 02:14
after@2x.png (70.2 KB) after@2x.png Go MAEDA, 2025-10-22 02:14
43378.patch (1.14 KB) 43378.patch Go MAEDA, 2025-10-22 06:06
Actions #1

Updated by Go MAEDA 3 days ago

  • Status changed from New to Confirmed
Actions #2

Updated by Go MAEDA 3 days ago

The code below fixes the issue:

diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 3aef7083a..005b91f89 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -227,7 +227,7 @@ module QueriesHelper
       end
       content =
         link_to(
-          sprite_icon(icon, column.caption),
+          (icon.present? ? sprite_icon(icon, column.caption) : column.caption),
           {:params => request.query_parameters.deep_merge(sort_param)},
           link_options
         )

Before:

After:

Actions #3

Updated by Go MAEDA 3 days ago

The attached is a patch with test.

Actions #4

Updated by Nicholas N 3 days ago

I can confirm that the patch resolves the alignment issue.

Actions #5

Updated by Go MAEDA 2 days ago

  • Target version changed from Candidate for next minor release to 6.0.8

Setting the target version to 6.0.8.

Actions #6

Updated by Go MAEDA 2 days ago

  • Subject changed from Column Headings Mis-Aligned to Column headers are slightly shifted to the right in issue and spent time lists
Actions #7

Updated by Go MAEDA about 21 hours ago

  • Subject changed from Column headers are slightly shifted to the right in issue and spent time lists to Column headers are slightly shifted to the right in tables in list views
  • Status changed from Confirmed to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24065.

Actions

Also available in: Atom PDF