From 3f67a1a04ddd0dd08b97a580deb95d2f3152b1ce Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Thu, 17 Jul 2025 18:58:47 -0700 Subject: [PATCH] Ensure elements cant be dragged --- src/App.scss | 4 ++++ src/componets/Sidebar.tsx | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/App.scss b/src/App.scss index a8cb9ae..fe5e532 100644 --- a/src/App.scss +++ b/src/App.scss @@ -9,3 +9,7 @@ body { color: white; user-select: none; } + +img { + pointer-events: none; +} \ No newline at end of file diff --git a/src/componets/Sidebar.tsx b/src/componets/Sidebar.tsx index 8f4e51c..1b0b3c1 100644 --- a/src/componets/Sidebar.tsx +++ b/src/componets/Sidebar.tsx @@ -57,9 +57,9 @@ const Sidebar = () => { /> )