Actions
Defect #43378
openColumn headers are slightly shifted to the right in tables in list views
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:

Files
Updated by Go MAEDA 3 days ago
- File before@2x.png before@2x.png added
- File after@2x.png after@2x.png added
- Target version set to Candidate for next minor release
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:
Updated by Go MAEDA 3 days ago
- File 43378.patch 43378.patch added
The attached is a patch with test.
Updated by Nicholas N 3 days ago
I can confirm that the patch resolves the alignment issue.
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