Defect #43378
open
Column Headings Mis-Aligned
Added by Nicholas N about 18 hours ago.
Updated about 6 hours ago.
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:

Files
- Status changed from New to Confirmed
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:

The attached is a patch with test.
Also available in: Atom
PDF