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

Properly wrap author (no ellipsis dots)

Oliver Günther515cfab900f7
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
index 145a53ebb90..c166f0e63e7 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
@@ -43,7 +43,7 @@
end
end
- grid.with_area(:author, tag: :div) do
+ grid.with_area(:author, tag: :div, classes: 'ellipsis') do
title = I18n.t(:label_added_time_by,
author: @meeting_agenda_item.author.name,
age: helpers.distance_of_time_in_words(Time.zone.now, @meeting_agenda_item.created_at))
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass
index c6c1b5cc31d..84e1f4498ed 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass
@@ -2,7 +2,7 @@
.op-meeting-agenda-item
display: grid
- grid-template-columns: 20px fit-content(70%) auto max-content 40px
+ grid-template-columns: 20px auto 1fr minmax(auto, 200px) 40px
grid-template-areas: "drag_handle content duration author actions" ". notes notes notes notes"
&--drag_handle,
@@ -11,6 +11,9 @@
&--author
align-self: center
+ &--duration
+ white-space: nowrap
+
&--actions
justify-self: end
@@ -23,7 +26,3 @@
&--duration
justify-self: end
-
- @media screen and (min-width: $breakpoint-lg)
- &--author
- justify-self: end