@doyourjob/gravity-ui-page-constructor 5.31.141-dev.2 → 5.31.141-dev.4

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.
@@ -1,5 +1,6 @@
1
1
  /* use this for style redefinitions to awoid problems with
2
2
  unpredictable css rules order in build */
3
3
  .pc-constructor-blocks_no-horizontal-scroll {
4
+ position: relative;
4
5
  overflow-x: hidden;
5
6
  }
@@ -54,7 +54,8 @@ const ConstructorBlocks = ({ items }) => {
54
54
  }
55
55
  return (react_1.default.createElement(grid_1.Grid, { key: blockId, className: b({
56
56
  'no-horizontal-scroll': item.type === models_1.BlockType.QuotesBlock ||
57
- ('backgroundFull' in item && Boolean(item.backgroundFull)),
57
+ ('backgroundFull' in item && Boolean(item.backgroundFull)) ||
58
+ ('blockUnicorn' in item && Boolean(item.blockUnicorn)),
58
59
  }), style: styles },
59
60
  react_1.default.createElement(components_1.BackgroundUnicorn, Object.assign({}, item)),
60
61
  react_1.default.createElement(grid_1.Row, null,
@@ -1,5 +1,6 @@
1
1
  /* use this for style redefinitions to awoid problems with
2
2
  unpredictable css rules order in build */
3
3
  .pc-constructor-blocks_no-horizontal-scroll {
4
+ position: relative;
4
5
  overflow-x: hidden;
5
6
  }
@@ -51,7 +51,8 @@ export const ConstructorBlocks = ({ items }) => {
51
51
  }
52
52
  return (React.createElement(Grid, { key: blockId, className: b({
53
53
  'no-horizontal-scroll': item.type === BlockType.QuotesBlock ||
54
- ('backgroundFull' in item && Boolean(item.backgroundFull)),
54
+ ('backgroundFull' in item && Boolean(item.backgroundFull)) ||
55
+ ('blockUnicorn' in item && Boolean(item.blockUnicorn)),
55
56
  }), style: styles },
56
57
  React.createElement(BackgroundUnicorn, Object.assign({}, item)),
57
58
  React.createElement(Row, null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor",
3
- "version": "5.31.141-dev.2",
3
+ "version": "5.31.141-dev.4",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {