History list item: make entire row the copy target (span 3 columns) and raise options button with Panel.ZIndex for hover/desktop.

This commit is contained in:
Codex CLI 2025-08-28 00:12:14 -05:00
commit 258bf2a44d

View file

@ -85,7 +85,7 @@
</StackPanel> </StackPanel>
<!-- Hover-only copy button for Desktop/Web with options flyout --> <!-- Hover-only copy button for Desktop/Web with options flyout -->
<Button Grid.Column="2" <Button Grid.Column="2" Panel.ZIndex="1"
IsVisible="{Binding #HistoryRow.IsPointerOver}" IsVisible="{Binding #HistoryRow.IsPointerOver}"
Margin="8,0,0,0" Margin="8,0,0,0"
Padding="8,4" Padding="8,4"
@ -127,7 +127,7 @@
<!-- Full-row overlay click target (pure XAML/MVVM). <!-- Full-row overlay click target (pure XAML/MVVM).
Sits on top of icon + text (columns 0-1) and triggers copy of output. --> Sits on top of icon + text (columns 0-1) and triggers copy of output. -->
<Button Grid.ColumnSpan="2" <Button Grid.ColumnSpan="3" Panel.ZIndex="0"
Background="Transparent" Background="Transparent"
BorderThickness="0" BorderThickness="0"
Focusable="False" Focusable="False"