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

cleanup row component

Ivan Kuchin7b239c8b8b95
diff --git a/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb b/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb
index 4f75a969d91..ec8642a03b8 100644
--- a/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb
+++ b/app/components/settings/project_life_cycle_step_definitions/row_component.html.erb
@@ -28,10 +28,9 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
- flex_layout(align_items: :center,
- justify_content: :space_between) do |step_container|
- step_container.with_column(flex_layout: true) do |title_container|
- title_container.with_column(pt: 1, mr: 3) do
+ flex_layout(align_items: :center, justify_content: :space_between) do |row_container|
+ row_container.with_column(flex_layout: true) do |title_container|
+ title_container.with_column do
render(Primer::Beta::Link.new(
classes: 'filter-target-visible-text',
href: edit_admin_settings_project_life_cycle_step_definition_path(definition),
@@ -40,10 +39,10 @@ See COPYRIGHT and LICENSE files for more details.
definition.name
end
end
- title_container.with_column(pt: 1) do
+ title_container.with_column(ml: 2) do
render(Projects::LifeCycleTypeComponent.new(definition))
end
- title_container.with_column(pt: 1, ml: 3) do
+ title_container.with_column(ml: 2) do
render(Primer::Beta::Text.new) { t("project.count", count: definition.project_count) }
end
end