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

Truncate long multi-CF values and take care that they are not to much truncated in the WP table

Henriette Dingerbf791ed1143c
diff --git a/app/assets/stylesheets/content/_autocomplete.sass b/app/assets/stylesheets/content/_autocomplete.sass
index db43c8cfe17..d9f4d2a92e2 100644
--- a/app/assets/stylesheets/content/_autocomplete.sass
+++ b/app/assets/stylesheets/content/_autocomplete.sass
@@ -175,6 +175,9 @@ mark.ui-autocomplete-match
height: initial !important
min-height: initial !important
+ .wp-table--cell-container & .ng-value-label
+ display: initial !important
+
// Ensure dropdown is above modals
.ng-dropdown-panel
z-index: 9500 !important
diff --git a/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass b/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass
index e41ed486a57..103e0f204e9 100644
--- a/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass
+++ b/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass
@@ -45,8 +45,11 @@
// Always render custom options as inline
// when only one line
- .custom-option:not(.-multiple-lines)
- display: inline
+ .custom-option
+ @include text-shortener
+ white-space: normal
+ &:not(.-multiple-lines)
+ display: inline
&.split-time-field
white-space: nowrap