|
265 | 265 | <TextBlock Text="{DynamicResource Text.Diff.Submodule.Deleted}" Margin="8,0" FontSize="10" Foreground="White"/> |
266 | 266 | </Border> |
267 | 267 |
|
268 | | - <Border Margin="0,8,0,0" IsVisible="{Binding Old, Converter={x:Static ObjectConverters.IsNotNull}}"> |
| 268 | + <Border Margin="0,8" |
| 269 | + BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" |
| 270 | + Background="{DynamicResource Brush.Window}" |
| 271 | + IsVisible="{Binding Old, Converter={x:Static ObjectConverters.IsNotNull}}"> |
269 | 272 | <ContentControl Content="{Binding Old}"> |
270 | 273 | <ContentControl.DataTemplates> |
271 | 274 | <DataTemplate DataType="m:RevisionSubmodule"> |
272 | | - <Border Margin="0,0,0,8" BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}" Background="{DynamicResource Brush.Window}"> |
273 | | - <v:CommitBaseInfo Margin="0,4,8,6" Content="{Binding Commit}" FullMessage="{Binding FullMessage}"/> |
274 | | - </Border> |
| 275 | + <v:CommitBaseInfo Margin="0,4,8,6" Content="{Binding Commit}" FullMessage="{Binding FullMessage}"/> |
275 | 276 | </DataTemplate> |
276 | 277 | </ContentControl.DataTemplates> |
277 | 278 | </ContentControl> |
|
290 | 291 | <TextBlock Text="{DynamicResource Text.Diff.Submodule.New}" Margin="8,0" FontSize="10" Foreground="White"/> |
291 | 292 | </Border> |
292 | 293 |
|
293 | | - <Border Margin="0,8,0,0" BorderThickness="1" BorderBrush="Green" Background="{DynamicResource Brush.Window}" IsVisible="{Binding New, Converter={x:Static ObjectConverters.IsNotNull}}"> |
| 294 | + <Border Margin="0,8" |
| 295 | + BorderThickness="1" BorderBrush="Green" |
| 296 | + Background="{DynamicResource Brush.Window}" |
| 297 | + IsVisible="{Binding New, Converter={x:Static ObjectConverters.IsNotNull}}"> |
294 | 298 | <ContentControl Content="{Binding New}"> |
295 | 299 | <ContentControl.DataTemplates> |
296 | 300 | <DataTemplate DataType="m:RevisionSubmodule"> |
|
0 commit comments