master-components-react-ts 2.4.11 → 2.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1245,10 +1245,10 @@ const On = "mc__Tooltip-module__tooltipContainer", Vn = "mc__Tooltip-module__too
1245
1245
  h.style.top = `${m.bottom + 8 + c - p}px`, h.style.left = `${m.left + f - x}px`;
1246
1246
  break;
1247
1247
  case "left":
1248
- h.style.top = `${m.top + m.height / 2 - h.offsetHeight / 2 + p - c}px`, h.style.left = `${m.left - h.offsetWidth - 8 + f - x}px`;
1248
+ h.style.top = `${m.top + p - c}px`, h.style.left = `${m.left - h.offsetWidth - 8 + f - x}px`;
1249
1249
  break;
1250
1250
  case "right":
1251
- h.style.top = `${m.top + m.height / 2 - h.offsetHeight / 2 + p - c}px`, h.style.left = `${m.right + 8 + x - f}px`;
1251
+ h.style.top = `${m.top + p - c}px`, h.style.left = `${m.right + 8 + x - f}px`;
1252
1252
  break;
1253
1253
  }
1254
1254
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "master-components-react-ts",
3
3
  "private": false,
4
- "version": "2.4.11",
4
+ "version": "2.4.12",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",