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

use standard dialog size

ulfertsad8b7f5f34ed
diff --git a/modules/overviews/app/components/project_life_cycles/sections/edit_dialog_component.html.erb b/modules/overviews/app/components/project_life_cycles/sections/edit_dialog_component.html.erb
index b62b1d9786f..97353efd904 100644
--- a/modules/overviews/app/components/project_life_cycles/sections/edit_dialog_component.html.erb
+++ b/modules/overviews/app/components/project_life_cycles/sections/edit_dialog_component.html.erb
@@ -1,10 +1,9 @@
<%=
render(Primer::Alpha::Dialog.new(title: t("label_life_cycle_step_plural"),
- size: :auto,
- id: dialog_id,
- style: "max-width: 650px")) do |d|
+ size: :medium_portrait,
+ id: dialog_id)) do |d|
d.with_header(variant: :large)
- d.with_body(classes: "Overlay-body_autocomplete_height") do
+ d.with_body do
render(::ProjectLifeCycles::Sections::EditComponent.new(model))
end
d.with_footer do