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

Set only multi-user display field to block

Oliver Günther859c70f3fc4e
diff --git a/frontend/src/app/shared/components/fields/display/field-types/multiple-user-display-field.module.ts b/frontend/src/app/shared/components/fields/display/field-types/multiple-user-display-field.module.ts
index 86249a0e14a..a6b0a438ba1 100644
--- a/frontend/src/app/shared/components/fields/display/field-types/multiple-user-display-field.module.ts
+++ b/frontend/src/app/shared/components/fields/display/field-types/multiple-user-display-field.module.ts
@@ -36,6 +36,9 @@ export class MultipleUserFieldModule extends ResourcesDisplayField {
public render(element:HTMLElement):void {
const users = this.value as HalResource[];
+ // The flex display of the nested op-principal-list breaks the height if
+ // this element's display is set to "initial".
+ element.style.display = 'block';
element.innerHTML = '';
element.setAttribute('title', users.map((el) => el.name).join(', '));