Skip to content

Commit

Permalink
Fix spacings for description text
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Nov 25, 2024
1 parent 19eb34a commit 1797384
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ 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
end
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
Expand Down

0 comments on commit 1797384

Please sign in to comment.