From 7baab8faa2d46ab245b80b7c60bd8358a56a09d7 Mon Sep 17 00:00:00 2001 From: Sandro Date: Tue, 27 Oct 2026 08:49:08 +0100 Subject: [PATCH] fix(workspace): eliminate hover height shift on folder tree row with fixed height and opacity fade --- .../src/features/workspace/WorkspaceView.tsx | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/frontend/src/features/workspace/WorkspaceView.tsx b/frontend/src/features/workspace/WorkspaceView.tsx index 04e69ac..d650a1a 100644 --- a/frontend/src/features/workspace/WorkspaceView.tsx +++ b/frontend/src/features/workspace/WorkspaceView.tsx @@ -107,10 +107,10 @@ const FolderTreeItem: React.FC = ({ }} onDrop={(e) => handleDropOnFolder(node.fullPath, e)} style={{ paddingLeft: `${depth * 12 + 8}px` }} - className={`group flex items-center justify-between pr-2 py-1 rounded-btn text-xs cursor-pointer transition-colors ${ + className={`group flex items-center justify-between pr-1.5 h-7 rounded-btn text-xs cursor-pointer border-l-2 transition-colors ${ isDragOver - ? 'bg-accent/20 border-l-2 border-accent text-main font-semibold' - : 'hover:bg-panel-elevated text-muted' + ? 'bg-accent/20 border-accent text-main font-semibold' + : 'border-transparent hover:bg-panel-elevated text-muted' }`} > -
+