style(quick-pane): use standard titlebar drag
This commit is contained in:
@@ -278,7 +278,7 @@ test("Quick Pane uses native dimensions and request-first compact layout", async
|
||||
assert.match(source, /new ResizeObserver\(resizeToContent\)/);
|
||||
assert.match(source, /invoke\("resize_quick_pane", \{ height \}\)/);
|
||||
assert.doesNotMatch(source, /onCloseRequested/);
|
||||
assert.match(source, /className="quick-pane-drag-region"/);
|
||||
assert.match(source, /className="quick-pane-titlebar"/);
|
||||
assert.match(source, /startDragging\(\)/);
|
||||
assert.match(source, /className="quick-pane-request"/);
|
||||
assert.match(source, /className=\{`quick-pane-exchange/);
|
||||
@@ -322,7 +322,10 @@ test("Quick Pane uses native dimensions and request-first compact layout", async
|
||||
stylesheet,
|
||||
/\.quick-pane-composer[\s\S]*?height: 120px[\s\S]*?min-height: 110px[\s\S]*?max-height: 130px/,
|
||||
);
|
||||
assert.match(stylesheet, /\.quick-pane-drag-region[\s\S]*?position:\s*absolute[\s\S]*?height:\s*10px[\s\S]*?cursor:\s*grab/);
|
||||
assert.match(
|
||||
stylesheet,
|
||||
/\.quick-pane-titlebar[\s\S]*?height:\s*20px[\s\S]*?border-bottom:[\s\S]*?cursor:\s*grab/,
|
||||
);
|
||||
assert.match(
|
||||
stylesheet,
|
||||
/\.quick-pane-composer-actions[\s\S]*?position: absolute/,
|
||||
|
||||
Reference in New Issue
Block a user