From 1797384ad25c55f137a18fcc4f3daec025f0de61 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Mon, 25 Nov 2024 13:15:13 +0100 Subject: [PATCH] Fix spacings for description text --- .../work_package_relations_tab/relation_component.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 22bb64dc9dd2..2c2dc4acf5dd 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