From 24a303ffc92eb30d26a26de052bf5581d1854f9a Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Wed, 16 Aug 2023 15:27:17 +0200 Subject: [PATCH] Fix cursor for drag and column resize in Electron (#3733) --- src/components/middle/MiddleColumn.scss | 2 +- src/components/ui/Draggable.module.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/middle/MiddleColumn.scss b/src/components/middle/MiddleColumn.scss index f0d12ad55..d59612cf7 100644 --- a/src/components/middle/MiddleColumn.scss +++ b/src/components/middle/MiddleColumn.scss @@ -347,5 +347,5 @@ bottom: 0; width: 0.25rem; z-index: var(--z-resize-handle); - cursor: var(--custom-cursor, ew-resize); + cursor: ew-resize; } diff --git a/src/components/ui/Draggable.module.scss b/src/components/ui/Draggable.module.scss index bb0073ca0..15247c428 100644 --- a/src/components/ui/Draggable.module.scss +++ b/src/components/ui/Draggable.module.scss @@ -29,7 +29,7 @@ opacity: 0; transition: opacity 150ms; - cursor: var(--custom-cursor, grab) !important; + cursor: grab !important; transform: translateY(-50%); .container:hover & { @@ -38,7 +38,7 @@ .isDragging & { opacity: 1; - cursor: var(--custom-cursor, grabbing) !important; + cursor: grabbing !important; } @media (pointer: coarse) {