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

Increase size of Dialog to avoid scrolling

Henriette Darge29a56aaaa94a
diff --git a/app/components/projects/settings/toggle_public_dialog_component.html.erb b/app/components/projects/settings/toggle_public_dialog_component.html.erb
index e3808251e22..da63a4b7914 100644
--- a/app/components/projects/settings/toggle_public_dialog_component.html.erb
+++ b/app/components/projects/settings/toggle_public_dialog_component.html.erb
@@ -31,8 +31,9 @@ See COPYRIGHT and LICENSE files for more details.
render(
Primer::OpenProject::DangerDialog.new(
id: "projects_toggle_public_confirmation",
+ size: :medium_portrait,
title: t(:title, scope: i18n_scope),
- confirm_button_text: t(:'js.button_confirm'),
+ confirm_button_text: t(:"js.button_confirm"),
form_arguments: {
action: toggle_public_project_settings_general_path(@project),
method: :post,