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

Commit 448ccac

Browse files
committed
Octicon in a circle yaaaaaa
1 parent ed0b3a4 commit 448ccac

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

src/GitHub.VisualStudio.UI/Views/Documents/CommitListView.xaml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,30 @@
1919

2020
<StackPanel Orientation="Vertical">
2121
<StackPanel Orientation="Horizontal" Margin="0,8">
22-
<ghfvs:OcticonImage DockPanel.Dock="Left"
22+
<Canvas Width="28"
23+
Height="28"
24+
Margin="0 0 4 0">
25+
<Ellipse Height="28"
26+
Width="28"
27+
Fill="#e1e4e8" />
28+
29+
<ghfvs:OcticonImage DockPanel.Dock="Left"
2330
Foreground="{DynamicResource VsBrush.WindowText}"
24-
Margin="2 0 4 0"
31+
Margin="6 7 6 6"
2532
Width="16"
2633
Icon="repo_push"
27-
Grid.Column="0"
2834
HorizontalAlignment="Center" />
35+
</Canvas>
36+
2937

30-
<v:ActorAvatarView Width="16"
31-
Height="16"
32-
Grid.Column="1"
33-
ViewModel="{Binding Author}"/>
38+
<v:ActorAvatarView
39+
VerticalAlignment="Center"
40+
Width="16"
41+
Height="16"
42+
ViewModel="{Binding Author}"/>
3443

35-
<TextBlock Foreground="{DynamicResource VsBrush.WindowText}" Margin="4 0" Grid.Column="2">
44+
<TextBlock Foreground="{DynamicResource VsBrush.WindowText}" Margin="4 0"
45+
VerticalAlignment="Center">
3646
<Run FontWeight="Bold" Text="{Binding Author.Login, Mode=OneWay}" />
3747
<Run Text="{Binding AuthorCaption, Mode=OneWay}" />
3848
</TextBlock>

src/GitHub.VisualStudio.UI/Views/Documents/PullRequestPageView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</StackPanel>
8181
</Grid>
8282

83-
<Rectangle DockPanel.Dock="Top" Style="{StaticResource Separator}" Height="2" Margin="0 16 0 8"/>
83+
<Rectangle DockPanel.Dock="Top" Style="{StaticResource Separator}" Height="2" Margin="0 24 0 16"/>
8484

8585
<Grid>
8686
<Grid.ColumnDefinitions>

0 commit comments

Comments
 (0)