improve selection box styling

This commit is contained in:
Guilhem
2025-11-12 09:56:23 +01:00
parent 5d0796603f
commit 339d37f741
2 changed files with 2 additions and 2 deletions
@@ -59,7 +59,7 @@
{#if bounds() && selectedNodes.length > 1}
{@const currentBounds = bounds()!}
<div
class={'absolute rounded cursor-pointer bg-surface-selected/30 border-2 border-dashed border-accent '}
class={'absolute rounded cursor-pointer bg-surface-selected/30 border border-accent '}
style="
left: {currentBounds.x}px;
top: {currentBounds.y}px;
@@ -182,7 +182,7 @@
<!-- Preview selection rectangle while drawing -->
{#if previewNote && isDrawing}
<div
class="absolute border-2 border-dashed border-accent bg-accent/10 rounded pointer-events-none"
class="absolute border border-accent pointer-events-none bg-surface-selected/30"
style="
width: {previewNote.size.width}px;
height: {previewNote.size.height}px;