We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03a078c commit 0e73a50Copy full SHA for 0e73a50
1 file changed
webapp/components/general/TutorialBubble.js
@@ -47,7 +47,8 @@ const TutorialBubble = ({
47
48
// Check if element2 is outside the viewport horizontally
49
if (x + width2 > windowWidth) {
50
- x = rect1.left - width2;
+ // x = rect1.left - width2;
51
+ x = rect1.left - ((x + width2) - windowWidth + rectMargin);
52
}
53
54
if (x < 0) {
0 commit comments