Fix cursor for drag and column resize in Electron (#3733)

This commit is contained in:
Alexander Zinchuk 2023-08-16 15:27:17 +02:00
parent 9b64fac501
commit 24a303ffc9
2 changed files with 3 additions and 3 deletions

View File

@ -347,5 +347,5 @@
bottom: 0; bottom: 0;
width: 0.25rem; width: 0.25rem;
z-index: var(--z-resize-handle); z-index: var(--z-resize-handle);
cursor: var(--custom-cursor, ew-resize); cursor: ew-resize;
} }

View File

@ -29,7 +29,7 @@
opacity: 0; opacity: 0;
transition: opacity 150ms; transition: opacity 150ms;
cursor: var(--custom-cursor, grab) !important; cursor: grab !important;
transform: translateY(-50%); transform: translateY(-50%);
.container:hover & { .container:hover & {
@ -38,7 +38,7 @@
.isDragging & { .isDragging & {
opacity: 1; opacity: 1;
cursor: var(--custom-cursor, grabbing) !important; cursor: grabbing !important;
} }
@media (pointer: coarse) { @media (pointer: coarse) {