fix: remove focus outline from note cards during drag

Add outline-none to both the NoteCard article and the NoteGrid
wrapper div to prevent browser focus outlines when dragging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Frederic Cabassut
2026-03-09 21:56:42 +01:00
co-authored by Claude Opus 4.6
parent 10f15c0cde
commit 82988bebc2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
onfinalize={handleFinalize}
>
{#each localItems as note (note.id)}
<div class="h-full" animate:flip={{ duration: flipDurationMs }}>
<div class="h-full outline-none" animate:flip={{ duration: flipDurationMs }}>
<NoteCard {note} {onEdit} fullHeight />
</div>
{/each}