Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit c499948

Browse files
committed
Remove top margin from error message
1 parent d9a0f03 commit c499948

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GitHub.VisualStudio/UI/Views/PullRequestDetailView.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@
222222

223223
<!-- Local branch exists but is not checked out -->
224224
<TextBlock TextWrapping="Wrap">
225+
<ui:OcticonImage Icon="alert" Foreground="Orange" Margin="0 0 0 -4"/>
225226
<Run BaselineAlignment="Top">This branch is not currently checked out.</Run>
226227
<Hyperlink Command="{Binding Checkout}" Style="{StaticResource HyperlinkHiddenWhenDisabled}">Switch branch</Hyperlink>
227228
<TextBlock.Style>
@@ -270,7 +271,7 @@
270271
</TextBlock>
271272

272273
<!-- Checkout disabled message -->
273-
<TextBlock Margin="0 4" TextWrapping="Wrap">
274+
<TextBlock Margin="0 0 0 4" TextWrapping="Wrap">
274275
<Run Text="{Binding CheckoutDisabledMessage}"/>
275276
<TextBlock.Style>
276277
<Style TargetType="TextBlock" BasedOn="{StaticResource CheckoutErrorMessage}">

0 commit comments

Comments
 (0)