fix: market drawing tools overlay alignment and pointer handling

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-08 12:45:47 +08:00
parent 26a4c04b88
commit ef57872d14
4 changed files with 150 additions and 76 deletions
+8 -2
View File
@@ -2909,17 +2909,23 @@ body.login-page {
min-width: 0;
height: 100%;
position: relative;
overflow: hidden;
}
.market-draw-canvas {
position: absolute;
inset: 0;
z-index: 3;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 20;
pointer-events: none;
touch-action: none;
}
.market-draw-canvas.is-drawing {
cursor: crosshair;
pointer-events: auto;
}
.market-exchange-badge {