refactor(ui): unify text and close button in WorktreeModalView
This commit is contained in:
@@ -40,10 +40,7 @@
|
||||
|
||||
<!-- Path strip -->
|
||||
<Border DockPanel.Dock="Top" Padding="14,0,14,8">
|
||||
<TextBlock Text="{Binding WorktreePath}"
|
||||
FontFamily="{DynamicResource MonoFont}" FontSize="{StaticResource FontSizeMono}"
|
||||
Foreground="{DynamicResource TextFaintBrush}"
|
||||
TextTrimming="CharacterEllipsis"/>
|
||||
<TextBlock Classes="path-mono" Text="{Binding WorktreePath}"/>
|
||||
</Border>
|
||||
|
||||
<!-- Split: file tree | splitter | diff pane -->
|
||||
@@ -66,9 +63,7 @@
|
||||
ItemsSource="{Binding Children}">
|
||||
<Border Background="Transparent" Tapped="OnNodeTapped" Cursor="Hand">
|
||||
<StackPanel Orientation="Horizontal" Spacing="8">
|
||||
<TextBlock Text="{Binding Name}"
|
||||
FontFamily="{DynamicResource MonoFont}" FontSize="{StaticResource FontSizeBody}"
|
||||
Foreground="{DynamicResource TextBrush}"/>
|
||||
<TextBlock Classes="meta" Text="{Binding Name}"/>
|
||||
<Border Tag="{Binding Status}" CornerRadius="3" Padding="4,0"
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="{Binding Status, Converter={x:Static ObjectConverters.IsNotNull}}">
|
||||
|
||||
Reference in New Issue
Block a user