Skip to content

Commit 529d434

Browse files
committed
Conditionally show divider based on contribution status
1 parent bb6076c commit 529d434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/UnisonShare/Page/ProjectContributionOverviewPage.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ viewViewLocallyInstructionsModal contribution =
532532
"/" ++ BranchRef.toString contribution.targetBranchRef
533533

534534
mergeInstructions_ =
535-
[ h3 [] [ text "Merge (and resolve conflicts) locally:" ]
535+
[ Divider.divider |> Divider.small |> Divider.view
536+
, h3 [] [ text "Merge (and resolve conflicts) locally:" ]
536537
, div [ class "instructions" ]
537538
[ p [] [ text "Clone the contribution branch:" ]
538539
, CopyField.copyField (always NoOp) ("clone " ++ source)
@@ -574,7 +575,6 @@ viewViewLocallyInstructionsModal contribution =
574575
|> CopyField.withPrefix (projectRef ++ "/main>")
575576
|> CopyField.view
576577
]
577-
, Divider.divider |> Divider.small |> Divider.view
578578
]
579579
++ mergeInstructions
580580
)

0 commit comments

Comments
 (0)