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

@@ -863,8 +863,8 @@
<!-- ============================================================ -->
<Style Selector="TextBlock.section-label">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="{StaticResource FontSizeEyebrow}" />
<Setter Property="Foreground" Value="{StaticResource TextFaintBrush}" />
<Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextMuteBrush}" />
<Setter Property="LetterSpacing" Value="1.4" />
</Style>
<Style Selector="TextBlock.section-label.overdue">
@@ -902,6 +902,7 @@
<!-- SHARED MODAL STYLES (promoted from per-modal Window.Styles) -->
<!-- ============================================================ -->
<Style Selector="TextBlock.field-label">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontSize" Value="{StaticResource FontSizeMono}" />
<Setter Property="Foreground" Value="{StaticResource TextDimBrush}" />
<Setter Property="Margin" Value="0,0,0,4" />

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"/>