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

Fix spacings for description text

Henriette Darge1797384ad25c
diff --git a/app/components/work_package_relations_tab/relation_component.html.erb b/app/components/work_package_relations_tab/relation_component.html.erb
index 22bb64dc9dd..2c2dc4acf5d 100644
--- a/app/components/work_package_relations_tab/relation_component.html.erb
+++ b/app/components/work_package_relations_tab/relation_component.html.erb
@@ -53,7 +53,7 @@ flex_layout do |flex|
end
if should_display_description?
- flex.with_row(flex_layout: true) do |description_row|
+ flex.with_row(flex_layout: true, mb: 2) do |description_row|
description_row.with_column do
render(Primer::Beta::Text.new(font_size: :small, color: :muted)) { format_text(relation, :description) }
end
@@ -61,7 +61,7 @@ flex_layout do |flex|
end
if should_display_start_and_end_dates?
- flex.with_row(flex_layout: true, align_items: :center, mb: 1) do |start_and_end_dates_row|
+ flex.with_row(flex_layout: true, align_items: :center) do |start_and_end_dates_row|
start_and_end_dates_row.with_column(mr: 1) do
icon = if follows?
:calendar