Skip to content

Commit 2f22ce6

Browse files
committed
fix(Windows + Linux): Fix calculation for service position
1 parent 6814876 commit 2f22ce6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/services/content/Services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default @injectSheet(styles) @observer class Services extends Component {
6161
width: bounds.width,
6262
height: bounds.height,
6363
x: bounds.x,
64-
y: bounds.y,
64+
y: element.target.offsetTop,
6565
});
6666
});
6767

src/features/todos/components/TodosWebview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class TodosWebview extends Component {
110110
width: bounds.width,
111111
height: bounds.height,
112112
x: bounds.x,
113-
y: bounds.y,
113+
y: element.target.offsetTop,
114114
});
115115
});
116116

0 commit comments

Comments
 (0)