fix(canvas): keep card drags alive on logos and pan with the middle mouse button

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Andras Bacsai
2026-10-26 18:31:02 +01:00
co-authored by Claude Opus 5.5
parent e1637cbe02
commit f751365863
3 changed files with 94 additions and 5 deletions
+6
View File
@@ -6156,6 +6156,12 @@ html.dark .canvas-zoom-max {
background-image: var(--canvas-dots-image);
}
/* A pan (canvas-core panZoom), also a middle-button pan that started on a card. */
:is([data-ec-viewport], .cv-viewport).panning,
:is([data-ec-viewport], .cv-viewport).panning * {
cursor: grabbing !important;
}
/* "Floating" navigation (Appearance → Navigation style): the top bar, sidebar,
tab strip, and settings rail float as framed panels over a dotted backdrop,
like the canvas islands. Set on <html> by applyStoredTheme() from