Skip to content

Commit f66e9c8

Browse files
committed
ux: layout for parent commit tooltip
Signed-off-by: leo <[email protected]>
1 parent b0a5a03 commit f66e9c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/CommitBaseInfo.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
PointerPressed="OnSHAPressed">
122122
<TextBlock.Styles>
123123
<Style Selector="ToolTip">
124-
<Setter Property="MaxWidth" Value="800"/>
124+
<Setter Property="MaxWidth" Value="600"/>
125125
</Style>
126126
</TextBlock.Styles>
127127

@@ -134,7 +134,7 @@
134134
<TextBlock Grid.Column="2" Classes="primary" Text="{Binding CommitterTimeStr}" Foreground="{DynamicResource Brush.FG2}" Margin="8,0,0,0"/>
135135
</Grid>
136136

137-
<TextBlock Classes="primary" Margin="0,8,0,0" Text="{Binding Subject}" />
137+
<TextBlock Classes="primary" Margin="0,8,0,0" Text="{Binding Subject}" TextWrapping="Wrap"/>
138138
</StackPanel>
139139
</DataTemplate>
140140
</TextBlock.DataTemplates>

0 commit comments

Comments
 (0)