We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46f1e39 commit 1a4bbdbCopy full SHA for 1a4bbdb
2 files changed
app/components/selection/box-model.element.js
@@ -28,17 +28,17 @@ export class BoxModel extends HTMLElement {
28
this.drawable = {
29
height: bounds.height,
30
width: bounds.width,
31
- top: bounds.top + window.scrollY,
32
- left: bounds.left,
+ top: 0,
+ left: 0,
33
rotation: 'rotate(-45)',
34
}
35
36
else if (mode === 'margin') {
37
38
height: total_height,
39
width: total_width,
40
- top: bounds.top + window.scrollY - sides.top,
41
- left: bounds.left - sides.left,
+ top: 0 - sides.top,
+ left: 0 - sides.left,
42
rotation: 'rotate(45)',
43
44
app/components/selection/handles.element.css
@@ -10,6 +10,7 @@
10
width: var(--width);
11
height: var(--height);
12
display: grid;
13
+ grid-template-rows: 1fr;
14
isolation: isolate;
15
16
0 commit comments