@gravity-ui/page-constructor 4.21.0 → 4.22.0

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.
@@ -108,7 +108,8 @@ unpredictable css rules order in build */
108
108
  .pc-header-block__video > video {
109
109
  border-radius: var(--pc-border-radius);
110
110
  width: 100%;
111
- height: auto;
111
+ height: 100%;
112
+ object-fit: cover;
112
113
  }
113
114
  .pc-header-block__image {
114
115
  width: 100%;
@@ -108,7 +108,8 @@ unpredictable css rules order in build */
108
108
  .pc-header-block__video > video {
109
109
  border-radius: var(--pc-border-radius);
110
110
  width: 100%;
111
- height: auto;
111
+ height: 100%;
112
+ object-fit: cover;
112
113
  }
113
114
  .pc-header-block__image {
114
115
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "4.21.0",
3
+ "version": "4.22.0",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {