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

remove unnecessary identifier for closed meeting

bsatarnejad51e5f81ae2b3
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 1a1699f53bd..0f20cae8da0 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
@@ -1,5 +1,5 @@
<%=
- grid_layout('op-meeting-agenda-item', classes: (meeting_closed? ? 'op-meeting-agenda-item--closed' : ''), tag: :div) do |grid|
+ grid_layout('op-meeting-agenda-item', tag: :div) do |grid|
if drag_and_drop_enabled?
grid.with_area(:'drag-handle', tag: :div) do
render(Primer::OpenProject::DragHandle.new(classes: 'handle'))
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 2c966791827..7edefae0ac3 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
@@ -4,7 +4,7 @@ $meeting-agenda-item--author-width: 300px
.op-meeting-agenda-item
display: grid
- grid-template-columns: 20px auto 1fr minmax(auto, $meeting-agenda-item--author-width) 40px
+ grid-template-columns: 20px auto 1fr minmax(auto, $meeting-agenda-item--author-width) fit-content(40px)
grid-template-areas: "drag-handle content duration author actions" ". notes notes notes notes"
&--drag-handle,
@@ -26,10 +26,6 @@ $meeting-agenda-item--author-width: 300px
&--content
@include text-shortener
- &--closed
- grid-template-columns: 20px auto 1fr minmax(auto, $meeting-agenda-item--author-width)
- grid-template-areas: "drag-handle content duration author" ". notes notes notes notes"
-
@media screen and (max-width: $breakpoint-lg)
grid-template-columns: 20px auto 1fr 50px
grid-template-areas: "drag-handle content content actions" ". author author duration" ". notes notes notes"