feat(control): spawn session NPCs and resize tokens in preview
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.token > .resizeHandle {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.editable {
|
||||
pointer-events: auto;
|
||||
cursor: grab;
|
||||
@@ -25,3 +29,18 @@
|
||||
.editable:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.resizeHandle {
|
||||
position: absolute;
|
||||
right: -5px;
|
||||
bottom: -5px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 2px;
|
||||
background: #f5c542;
|
||||
border: 1px solid #000;
|
||||
cursor: nwse-resize;
|
||||
touch-action: none;
|
||||
pointer-events: auto;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user