Skip to content

Commit 21e36db

Browse files
committed
Fix #8 tooltip position outside viewable area
1 parent 89544e2 commit 21e36db

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Snippets/files/snippets.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
.snippetsTooltip {
8-
position: absolute;
8+
position: fixed;
99
top: 0;
1010
left: 0;
1111
z-index: 3;

Snippets/files/snippets.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jQuery(document).ready(function($) {
3131
content: SnippetsLang("pattern_help"),
3232
baseClass: "snippetsTooltip",
3333
fixed: false,
34-
//position: "bottom",
35-
offset: [10, 0]
34+
offset: [20, 20],
3635
});
3736
});
3837

0 commit comments

Comments
 (0)