Project

General

Profile

Actions

Defect #43378

open

Column Headings Mis-Aligned

Added by Nicholas N about 18 hours ago. Updated about 6 hours ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
UI
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
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 about 11 hours ago

  • Status changed from New to Confirmed
Actions #2

Updated by Go MAEDA about 10 hours 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 about 6 hours ago

The attached is a patch with test.

Actions

Also available in: Atom PDF