|
29 | 29 |
|
30 | 30 | <StackPanel Orientation="Vertical"> |
31 | 31 | <Border Margin="0 4 0 0" CornerRadius="4" Background="#ffeff1f5" Padding="8"> |
32 | | - <StackPanel Orientation="Horizontal"> |
33 | | - <ui:OcticonImage Icon="repo_forked" Background="Red" Height="16" Width="16" /> |
34 | | - <TextBlock>Fork the repo</TextBlock> |
35 | | - </StackPanel> |
| 32 | + <Grid> |
| 33 | + <Grid.ColumnDefinitions> |
| 34 | + <ColumnDefinition Width="Auto" /> |
| 35 | + <ColumnDefinition Width="*" /> |
| 36 | + </Grid.ColumnDefinitions> |
| 37 | + |
| 38 | + <ui:OcticonImage Grid.Column="0" Icon="repo_forked" Background="Red" Height="16" Width="16" /> |
| 39 | + <TextBlock Grid.Column="1" TextWrapping="Wrap">Fork the repo</TextBlock> |
| 40 | + </Grid> |
36 | 41 | </Border> |
37 | 42 |
|
38 | 43 | <Border Margin="0 4 0 0" CornerRadius="4" Background="#ffeff1f5" Padding="8"> |
39 | | - <StackPanel Orientation="Horizontal"> |
40 | | - <ui:OcticonImage Icon="repo_forked" Height="16" Width="16" /> |
41 | | - <TextBlock TextWrapping="Wrap"> |
42 | | - Update your local repository's <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">origin</Run> to point to |
43 | | - <Hyperlink><Run Text="{Binding DestinationRepository.CloneUrl, Mode=OneWay}"/></Hyperlink> |
44 | | - </TextBlock> |
45 | | - </StackPanel> |
| 44 | + <Grid> |
| 45 | + <Grid.ColumnDefinitions> |
| 46 | + <ColumnDefinition Width="Auto" /> |
| 47 | + <ColumnDefinition Width="*" /> |
| 48 | + </Grid.ColumnDefinitions> |
| 49 | + <ui:OcticonImage Grid.Column="0" Icon="repo_forked" Height="16" Width="16" /> |
| 50 | + |
| 51 | + <TextBlock Grid.Column="1" TextWrapping="Wrap"> |
| 52 | + Update your local repository's <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">origin</Run> to point to |
| 53 | + <Hyperlink><Run Text="{Binding DestinationRepository.CloneUrl, Mode=OneWay}"/></Hyperlink> |
| 54 | + </TextBlock> |
| 55 | + </Grid> |
46 | 56 | </Border> |
47 | 57 |
|
48 | 58 | <Border Margin="0 4 0 0" CornerRadius="4" Background="#ffeff1f5" Padding="8"> |
49 | | - <StackPanel Orientation="Horizontal"> |
50 | | - <ui:OcticonImage Icon="repo_forked" Height="16" Width="16" /> |
51 | | - <TextBlock TextWrapping="Wrap"> |
52 | | - Add an <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">upstream</Run> remote pointing to |
53 | | - <Hyperlink><Run Text="{Binding SourceRepository.CloneUrl, Mode=OneWay}"/></Hyperlink> |
54 | | - </TextBlock> |
55 | | - </StackPanel> |
| 59 | + <Grid> |
| 60 | + <Grid.ColumnDefinitions> |
| 61 | + <ColumnDefinition Width="Auto" /> |
| 62 | + <ColumnDefinition Width="*" /> |
| 63 | + </Grid.ColumnDefinitions> |
| 64 | + |
| 65 | + <ui:OcticonImage Grid.Column="0" Icon="repo_forked" Height="16" Width="16" /> |
| 66 | + <TextBlock Grid.Column="1" TextWrapping="Wrap"> |
| 67 | + Add an <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">upstream</Run> remote pointing to |
| 68 | + <Hyperlink><Run Text="{Binding SourceRepository.CloneUrl, Mode=OneWay}"/></Hyperlink> |
| 69 | + </TextBlock> |
| 70 | + </Grid> |
56 | 71 | </Border> |
57 | 72 |
|
58 | 73 | <StackPanel Orientation="Vertical" Margin="0 8 0 0"> |
|
0 commit comments