Skip to content

Commit ce7bc04

Browse files
committed
ux: use monospaced font for commit's SHA in commit list
Signed-off-by: leo <longshuang@msn.cn>
1 parent ff3f81b commit ce7bc04

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/Views/Histories.axaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
<DataTemplate DataType="m:Commit">
184184
<Border Padding="8,0,0,0" Background="Transparent" ClipToBounds="True">
185185
<TextBlock Text="{Binding SHA, Converter={x:Static c:StringConverters.ToShortSHA}}"
186+
FontFamily="{DynamicResource Fonts.Monospace}"
186187
FontWeight="{Binding IsCurrentHead, Converter={x:Static c:BoolConverters.IsBoldToFontWeight}}"
187188
Opacity="{Binding IsMerged, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}"/>
188189
</Border>

0 commit comments

Comments
 (0)