From 1521038e03904d1485d0b17ff60945373ffc0224 Mon Sep 17 00:00:00 2001 From: Mathew Pareles Date: Fri, 17 Jan 2025 16:56:46 -0800 Subject: [PATCH] fixes --- .../workbench/contrib/void/browser/inlineDiffsService.ts | 2 +- .../void/browser/react/src/sidebar-tsx/SidebarChat.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts index d6d04ade..d362fe29 100644 --- a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts +++ b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts @@ -1806,7 +1806,7 @@ class AcceptAllRejectAllWidget extends Widget implements IOverlayWidget { ]); // Style the container - buttons.style.zIndex = '1'; + buttons.style.zIndex = '2'; buttons.style.padding = '4px'; buttons.style.display = 'flex'; buttons.style.gap = '4px'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index 69b015b2..5799a72e 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -315,7 +315,9 @@ export const SelectedFiles = ( const isThisSelectionAFile = selection.selectionStr === null const isThisSelectionProspective = i > selections.length - 1 - const selectionHTML = (
) - return <> + return {selections.length > 0 && i === selections.length &&
// divider between `selections` and `prospectiveSelections` } {selectionHTML} - +
})}