Project

General

Profile

Actions

Defect #43168

closed

Responsive mode layout breaks when table headers are enabled in related and sub-issues list

Added by Mizuki ISHIKAWA 25 days ago. Updated 11 days ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When "Show table headers" is enabled in Administration > Settings > Issue tracking > Related and sub-issues list defaults, switching to responsive mode causes field values to be incorrectly merged into the leftmost column.

Steps to Reproduce:
1. Go to Administration > Settings > Issue tracking.
2. In Related and sub-issues list defaults, enable Show table headers.
3. Open an issue that has related issues or sub-issues.
4. View the page in responsive mode (narrow screen).
5. Observe that field values are displayed together in the subject column.

Related: Patch #43134: Dringend: Account-Verlängerung erforderlich für Seminar


Files

screenshot 2025-08-29 17.04.27.png (53.9 KB) screenshot 2025-08-29 17.04.27.png Mizuki ISHIKAWA, 2025-08-29 10:12
screenshot 2025-08-29 17.02.00.png (91.3 KB) screenshot 2025-08-29 17.02.00.png Mizuki ISHIKAWA, 2025-08-29 10:15
screenshot 2025-08-29 17.02.32.png (89.6 KB) screenshot 2025-08-29 17.02.32.png Mizuki ISHIKAWA, 2025-08-29 10:15
fix-43168.diff (5.18 KB) fix-43168.diff Mizuki ISHIKAWA, 2025-08-29 10:18
fix-43168-v2.diff (5.72 KB) fix-43168-v2.diff Mizuki ISHIKAWA, 2025-09-08 06:38
fix-43168-v3.diff (5.31 KB) fix-43168-v3.diff Mizuki ISHIKAWA, 2025-09-09 06:53

Related issues

Related to Redmine - Feature #42477: Configurable columns for the lists of child and related issuesClosedGo MAEDA

Actions
Actions #1

Updated by Mizuki ISHIKAWA 25 days ago

I’m attaching a patch to fix this issue.
With this patch, if a header is present, the layout will allow horizontal scrolling using overflow-x: scroll;.
If no header is present, the layout will remain unchanged, preserving the previous behavior.

No header (no change from before) With header (adds scrolling)
Actions #2

Updated by Go MAEDA 22 days ago

  • Related to Feature #42477: Configurable columns for the lists of child and related issues added
Actions #3

Updated by Mizuki ISHIKAWA 15 days ago

I applied a change to rename the CSS class.

Actions #4

Updated by Mizuki ISHIKAWA 14 days ago

I've done some code refactoring and attached the patch. The behavior remains unchanged.
This patch was written with the help of Katsuya HIDAKA.

Actions #5

Updated by Katsuya HIDAKA 14 days ago

I tested the patch from #note-4.

  • Verified on Chrome, Safari, Firefox, MSEdge, and Chrome for Android
  • Checked both subtasks and related issues, with the related issues table headers enabled and disabled

The patch in #note-4 applies the following improvements:

  • Changed to define the .with-related-issues-table-headers class on the root element of subtasks and related issues
  • As a result, responsive.css became simpler and easier to read
  • The change to issues_helper.rb is no longer needed

Looks good!

Actions #6

Updated by Go MAEDA 11 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r23972 as part of #42477. Thank you.

Actions

Also available in: Atom PDF