Field "Done" from issue subtasks table overlaps the layout in responsive mode, width 400
|Assignee:||Jean-Philippe Lang||% Done:|
|Category:||UI - Responsive|
- Open an issue with subtasks
- Resize the browser to the minimum width (400px in my case, Chrome, latest version)
- Observe the field Done that overlaps the layout.
I checked also the issues listing (project/issues) and there the problem doesn't reproduce because of the div "autoscroll" that makes that block scrollable also on horizontal.
Attached is a patch that adds that div for issue subtasks and relations.
After I applied the patch:
Add responsive behaviour to subtasks and related issues (#21775).
Patch by Felix Gliesche.
#4 Updated by Marius BALTEANU about 4 years ago
Jan from Planio www.plan.io wrote:
I added the autoscroll div from two reasons:
I am not sure scrolling is the best approach here. Ideally, we'd rearrange the elements so they all fit on the screen without scrolling.
- this is the behavior used in the issues page
- is a quick fix
I totally agree with you that is not the best approach and I think that the new responsive approach should apply in all pages where the issues are listed (Issues, issue show, my page)
#5 Updated by Felix Gliesche about 4 years ago
- File 0001-Add-responsive-behaviour-to-subtasks-and-related-iss.patch added
- File after-patch.png added
I have been working on a solution which avoids scrollbars and lets the columns stack so that each issue displays in two rows :
The screenshot shows how it looks on an iPhone 4 with 320px width (what I consider the minimum resolution width). It looks well for subtasks and related issues. The subject spans over the full width, whereas status, asignee, progress, start_date and end_date use one-third of the available width. I also added text-overflow:ellipsis to the table cells in case the content exceeds the table cell's space.