@doyourjob/gravity-ui-page-constructor 5.31.25 → 5.31.26

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.
@@ -29,7 +29,7 @@ const HighlightTableBlock = (props) => {
29
29
  if (!tableContentElem || !blockElem)
30
30
  return () => { };
31
31
  const updateSizes = (0, debounce_1.default)(() => {
32
- const width = Math.max(672, blockElem.clientWidth + 24 + 2); // 24 - padding, 2 - border
32
+ const width = Math.max(672, blockElem.clientWidth - 24 - 2); // 24 - padding, 2 - border
33
33
  tableContentElem.style.setProperty('--block-width', `${width}px`);
34
34
  });
35
35
  updateSizes();
@@ -26,7 +26,7 @@ export const HighlightTableBlock = (props) => {
26
26
  if (!tableContentElem || !blockElem)
27
27
  return () => { };
28
28
  const updateSizes = debounce(() => {
29
- const width = Math.max(672, blockElem.clientWidth + 24 + 2); // 24 - padding, 2 - border
29
+ const width = Math.max(672, blockElem.clientWidth - 24 - 2); // 24 - padding, 2 - border
30
30
  tableContentElem.style.setProperty('--block-width', `${width}px`);
31
31
  });
32
32
  updateSizes();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor",
3
- "version": "5.31.25",
3
+ "version": "5.31.26",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {