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

Rename drag_handle area to drag-handle

Oliver Günther3054f68e24a8
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 d5657884d3d..15b482ca355 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,7 +1,7 @@
<%=
grid_layout('op-meeting-agenda-item', tag: :div) do |grid|
if drag_and_drop_enabled?
- grid.with_area(:drag_handle, tag: :div) do
+ grid.with_area(:'drag-handle', tag: :div) do
render(Primer::OpenProject::DragHandle.new(classes: 'handle'))
end
end
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 84e1f4498ed..f56fae6f3b3 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
@@ -3,9 +3,9 @@
.op-meeting-agenda-item
display: grid
grid-template-columns: 20px auto 1fr minmax(auto, 200px) 40px
- grid-template-areas: "drag_handle content duration author actions" ". notes notes notes notes"
+ grid-template-areas: "drag-handle content duration author actions" ". notes notes notes notes"
- &--drag_handle,
+ &--drag-handle,
&--duration,
&--content,
&--author
@@ -22,7 +22,7 @@
@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"
+ grid-template-areas: "drag-handle content content actions" ". author author duration" ". notes notes notes"
&--duration
justify-self: end