Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[31248] Ensure nested checkbox lists are wrapped

Oliver Güntherd106fa638612
diff --git a/app/assets/stylesheets/content/editor/_markdown.sass b/app/assets/stylesheets/content/editor/_markdown.sass
index 723baefeeac..a1719276cd5 100644
--- a/app/assets/stylesheets/content/editor/_markdown.sass
+++ b/app/assets/stylesheets/content/editor/_markdown.sass
@@ -26,11 +26,17 @@ div.wiki
.task-list-item
display: flex
+ flex-wrap: wrap
input
height: 25px
margin-right: 3px
+ // Ensure nested task lists are wrapped
+ // by making nested lists 100% row width
+ ul.task-list
+ flex-basis: 100%
+
// remove indentation of top-level task-list
> ul.task-list
margin-left: 0