Skip to content

Commit 057c0be

Browse files
committed
ux: change MaxHeight of commit message to 64 to ensure that there are at least 2 items displayed in the change list (#66)
1 parent 8ab7370 commit 057c0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/CommitBaseInfo.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
<!-- Messages -->
101101
<TextBlock Grid.Row="3" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.Message}" VerticalAlignment="Top" Margin="0,4,0,0" />
102-
<ScrollViewer Grid.Row="3" Grid.Column="1" Margin="12,5,0,0" MaxHeight="100" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
102+
<ScrollViewer Grid.Row="3" Grid.Column="1" Margin="12,5,0,0" MaxHeight="64" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
103103
<SelectableTextBlock Text="{Binding FullMessage}" FontFamily="{Binding Source={x:Static vm:Preference.Instance}, Path=MonospaceFont}" TextWrapping="Wrap"/>
104104
</ScrollViewer>
105105
</Grid>

0 commit comments

Comments
 (0)