enhance: allow wrap commit refs in INFORMATION page (#807)

This commit is contained in:
leo 2024-12-20 09:51:25 +08:00
parent 6c795e1238
commit ed229166ee
No known key found for this signature in database
2 changed files with 45 additions and 10 deletions

View file

@ -172,12 +172,13 @@
<!-- REFS -->
<TextBlock Grid.Row="3" Grid.Column="0" Classes="info_label" VerticalAlignment="Top" Margin="0,4,0,0" Text="{DynamicResource Text.CommitDetail.Info.Refs}" IsVisible="{Binding HasDecorators}"/>
<Border Grid.Row="3" Grid.Column="1" Margin="12,0,0,0" Height="24" IsVisible="{Binding HasDecorators}">
<Border Grid.Row="3" Grid.Column="1" Margin="12,0,0,0" MinHeight="24" IsVisible="{Binding HasDecorators}">
<v:CommitRefsPresenter TagBackground="{DynamicResource Brush.DecoratorTag}"
Foreground="{DynamicResource Brush.FG1}"
FontFamily="{DynamicResource Fonts.Primary}"
FontSize="11"
VerticalAlignment="Center"
AllowWrap="True"
Margin="0,4,0,0"
UseGraphColor="False"/>
</Border>