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

Let type and WP title wrap on mobile

Henriette Darge61153d8dc733
diff --git a/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass b/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass
index 7a74fbfb098..525fd81891e 100644
--- a/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass
+++ b/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass
@@ -45,3 +45,5 @@
display: block
padding: 5px 0 5px 5px
+ @media screen and (max-width: $breakpoint-md)
+ padding-left: 0
diff --git a/frontend/src/global_styles/layout/work_packages/_full_view.sass b/frontend/src/global_styles/layout/work_packages/_full_view.sass
index e3fbb0fdf1e..ddf2af0f670 100644
--- a/frontend/src/global_styles/layout/work_packages/_full_view.sass
+++ b/frontend/src/global_styles/layout/work_packages/_full_view.sass
@@ -131,6 +131,11 @@
#toolbar-items
margin-left: 0
+@media only screen and (max-width: $breakpoint-md)
+ .work-packages--subject-type-row
+ flex-wrap: wrap
+ overflow: hidden
+
#work-packages-index
.op-uc-link_permalink
display: none
@@ -148,6 +153,8 @@
line-height: 24px
.work-packages--type-selector:not(.wp-new-top-row--element)
+ max-width: 100%
+ @include text-shortener()
.inline-edit--display-field
padding-right: 5px !important
// Remove left padding from type