aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/placements.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/placements.js b/src/util/placements.js
index 2574da1..6760286 100644
--- a/src/util/placements.js
+++ b/src/util/placements.js
@@ -6,25 +6,25 @@ const autoAdjustOverflow = {
6const targetOffset = [0, 0]; 6const targetOffset = [0, 0];
7 7
8const placements = { 8const placements = {
9 topLeft: { 9 bottomLeft: {
10 points: ['tl', 'tl'], 10 points: ['tl', 'tl'],
11 overflow: autoAdjustOverflow, 11 overflow: autoAdjustOverflow,
12 offset: [0, -3], 12 offset: [0, -3],
13 targetOffset, 13 targetOffset,
14 }, 14 },
15 topRight: { 15 bottomRight: {
16 points: ['tr', 'tr'], 16 points: ['tr', 'tr'],
17 overflow: autoAdjustOverflow, 17 overflow: autoAdjustOverflow,
18 offset: [0, -3], 18 offset: [0, -3],
19 targetOffset, 19 targetOffset,
20 }, 20 },
21 bottomRight: { 21 topRight: {
22 points: ['br', 'br'], 22 points: ['br', 'br'],
23 overflow: autoAdjustOverflow, 23 overflow: autoAdjustOverflow,
24 offset: [0, 3], 24 offset: [0, 3],
25 targetOffset, 25 targetOffset,
26 }, 26 },
27 bottomLeft: { 27 topLeft: {
28 points: ['bl', 'bl'], 28 points: ['bl', 'bl'],
29 overflow: autoAdjustOverflow, 29 overflow: autoAdjustOverflow,
30 offset: [0, 3], 30 offset: [0, 3],