From 1e4a27b1a3c80c1e61f50b55589231196be18b96 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 26 Jun 2025 10:25:31 -0400 Subject: [PATCH] fix: fine-tune drag handle vertical position by 2px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move handle up by 2px for better visual alignment with text - Compensates for smaller handle size centering 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/lib/components/edra/extensions/drag-handle/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/edra/extensions/drag-handle/index.ts b/src/lib/components/edra/extensions/drag-handle/index.ts index 4c47075..49070fe 100644 --- a/src/lib/components/edra/extensions/drag-handle/index.ts +++ b/src/lib/components/edra/extensions/drag-handle/index.ts @@ -341,7 +341,7 @@ export function DragHandlePlugin(options: GlobalDragHandleOptions & { pluginKey: // Add 12px gap between drag handle and content // Position the handle inside the padding area, close to the text dragHandleElement.style.left = `${rect.left + paddingLeft - rect.width - 12}px` - dragHandleElement.style.top = `${rect.top}px` + dragHandleElement.style.top = `${rect.top - 2}px` showDragHandle() }, keydown: () => {