fix: fine-tune drag handle vertical position by 2px
- 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 <noreply@anthropic.com>
This commit is contained in:
parent
8f884af5d7
commit
1e4a27b1a3
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ export function DragHandlePlugin(options: GlobalDragHandleOptions & { pluginKey:
|
||||||
// Add 12px gap between drag handle and content
|
// Add 12px gap between drag handle and content
|
||||||
// Position the handle inside the padding area, close to the text
|
// Position the handle inside the padding area, close to the text
|
||||||
dragHandleElement.style.left = `${rect.left + paddingLeft - rect.width - 12}px`
|
dragHandleElement.style.left = `${rect.left + paddingLeft - rect.width - 12}px`
|
||||||
dragHandleElement.style.top = `${rect.top}px`
|
dragHandleElement.style.top = `${rect.top - 2}px`
|
||||||
showDragHandle()
|
showDragHandle()
|
||||||
},
|
},
|
||||||
keydown: () => {
|
keydown: () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue