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

Enfore small size of action menu dropdown. Otherwise it would be way to large when opened inside a dialog

Henriette Darge4fbd3ccf1048
diff --git a/app/components/shares/permission_button_component.html.erb b/app/components/shares/permission_button_component.html.erb
index 6402891c82a..24a63a92b6d 100644
--- a/app/components/shares/permission_button_component.html.erb
+++ b/app/components/shares/permission_button_component.html.erb
@@ -1,6 +1,7 @@
<%=
component_wrapper do
render(Primer::Alpha::ActionMenu.new(**{ select_variant: :single,
+ size: :small,
dynamic_label: true,
anchor_align: :end,
color: :subtle }.deep_merge(@system_arguments))) do |menu|