fix(ui): unclip Edit/Preview buttons; enlarge section labels and use mono field labels

This commit is contained in:
mika kuns
2026-05-30 17:02:35 +02:00
parent df7337810e
commit e86464e802
2 changed files with 8 additions and 11 deletions

View File

@@ -135,9 +135,7 @@
<StackPanel Spacing="8">
<TextBlock Classes="section-label" Text="MERGE" Margin="0,0,0,2"/>
<StackPanel Spacing="4">
<TextBlock Text="Merge target"
FontSize="{StaticResource FontSizeMono}"
Foreground="{DynamicResource TextFaintBrush}"/>
<TextBlock Classes="field-label" Text="Merge target"/>
<ComboBox ItemsSource="{Binding MergeTargetBranches}"
SelectedItem="{Binding SelectedMergeTarget, Mode=TwoWay}"
HorizontalAlignment="Stretch"/>
@@ -239,19 +237,17 @@
<PathIcon Data="{StaticResource Icon.Copy}" Width="11" Height="11"/>
</Button>
<Button Grid.Column="3"
Classes="icon-btn"
Classes="btn"
Command="{Binding ToggleEditDescriptionCommand}"
Padding="6,2"
FontSize="{StaticResource FontSizeEyebrow}"
Padding="8,3"
ToolTip.Tip="Toggle edit/preview"
IsVisible="{Binding IsDescriptionEditorVisible}">
<TextBlock Text="Preview"/>
</Button>
<Button Grid.Column="3"
Classes="icon-btn"
Classes="btn"
Command="{Binding ToggleEditDescriptionCommand}"
Padding="6,2"
FontSize="{StaticResource FontSizeEyebrow}"
Padding="8,3"
ToolTip.Tip="Toggle edit/preview"
IsVisible="{Binding IsDescriptionPreviewVisible}">
<TextBlock Text="Edit"/>